CVEvulnerability
CVE-2026-46331
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2026-06-16
- Last modified
- 2026-10-15
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (0b0ca135-0b70-47e7-9f44-1890c2a1c46c)
- 6.7 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-190, CWE-787
Description
In the Linux kernel, the following vulnerability has been resolved:
net/sched: fix pedit partial COW leading to page cache corruption
tcf_pedit_act() computes the COW range for skb_ensure_writable()
once before the key loop using tcfp_off_max_hint, but the hint does
not account for the runtime header offset added by typed keys. This
can leave part of the write region un-COW'd.
Fix by moving skb_ensure_writable() inside the per-key loop where
the actual write offset is known, and add overflow checking on the
offset arithmetic. For negative offsets (e.g. Ethernet header edits
at ingress), use skb_cow() to COW the headroom instead. Guard
offset_valid() against INT_MIN, where negation is undefined.
Affected configurations
• linux linux kernel (>= 4.19.244 < 4.20)
• linux linux kernel (>= 5.4.195 < 5.5)
• linux linux kernel (>= 5.10.117 < 5.11)
• linux linux kernel (>= 5.15.41 < 5.16)
• linux linux kernel (>= 5.17.9 < 5.18)
• linux linux kernel (>= 5.18.1 < 6.12.94)
• linux linux kernel (>= 6.13 < 6.18.36)
• linux linux kernel (>= 6.19 < 7.0.13)
• linux linux kernel 5.18
• linux linux kernel 7.1
Related
References
- https://git.kernel.org/stable/c/2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b Patch
- https://git.kernel.org/stable/c/3dee9d0c198faeb95d052c1b94c2958751a28512 Patch
- https://git.kernel.org/stable/c/544d857b42a1734b923040e13aa61a6fd4746cf2 Patch
- https://git.kernel.org/stable/c/899ee91156e57784090c5565e4f31bd7dbffbc5a Patch
- https://git.kernel.org/stable/c/a071e057518decc5e3bec89855758f5f8786f2c5 Patch
- https://git.kernel.org/stable/c/b198ed4e52580a7238c7c7082f03906f8b310313 Patch
- https://git.kernel.org/stable/c/b685d6ef6f07a3b5ce814565a25f39f2157538a5 Patch
- https://git.kernel.org/stable/c/d5d01d35a5a7d36f7cb679b67d9cbdd5205672dc Patch
- https://access.redhat.com/errata/RHSA-2026:27288 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27353 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27354 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27355 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27704 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27705 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27706 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27707 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27708 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27709 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27713 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27731 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27789 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:28887 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:28962 Issue Tracking
- https://access.redhat.com/errata/RHSA-2026:29080 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:29794 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:29799 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:29833 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:29856 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:29863 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:33219 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:33220 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:33221 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:33222 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:33223 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:33224 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:33225 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:33666 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:34048 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:34098 access.redhat.com
- https://access.redhat.com/errata/RHSA-2026:40021 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2026-46331 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2479492 Third Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html cert-portal.siemens.com
- https://github.com/sgkdev/packet_edit_meme/tree/main Third Party Advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46331.json Third Party Advisory