CVE-2026-46331
HIGHIn 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.
Published: 6/16/2026Modified: 7/23/2026
Related Intelligence (0)
No articles currently reference this CVE.
References (44)
https://git.kernel.org/stable/c/2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61bPatchhttps://git.kernel.org/stable/c/3dee9d0c198faeb95d052c1b94c2958751a28512Patchhttps://git.kernel.org/stable/c/544d857b42a1734b923040e13aa61a6fd4746cf2Patchhttps://git.kernel.org/stable/c/899ee91156e57784090c5565e4f31bd7dbffbc5aPatchhttps://git.kernel.org/stable/c/a071e057518decc5e3bec89855758f5f8786f2c5Patchhttps://git.kernel.org/stable/c/b198ed4e52580a7238c7c7082f03906f8b310313Patchhttps://git.kernel.org/stable/c/b685d6ef6f07a3b5ce814565a25f39f2157538a5Patchhttps://git.kernel.org/stable/c/d5d01d35a5a7d36f7cb679b67d9cbdd5205672dcPatchhttps://access.redhat.com/errata/RHSA-2026:27288Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:27353Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:27354Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:27355Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:27704Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:27705Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:27706Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:27707Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:27708Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:27709Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:27713Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:27731Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:27789Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:28887Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:28962Issue Trackinghttps://access.redhat.com/errata/RHSA-2026:29080Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:29794Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:29799Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:29833Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:29856Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:29863Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:33219Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:33220Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:33221Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:33222Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:33223Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:33224Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:33225Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:33666Third Party Advisoryhttps://access.redhat.com/errata/RHSA-2026:34048https://access.redhat.com/errata/RHSA-2026:34098https://access.redhat.com/errata/RHSA-2026:40021https://access.redhat.com/security/cve/CVE-2026-46331Third Party Advisoryhttps://bugzilla.redhat.com/show_bug.cgi?id=2479492Third Party Advisoryhttps://github.com/sgkdev/packet_edit_meme/tree/mainThird Party Advisoryhttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46331.jsonThird Party Advisory