Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.19.244, < 4.20 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61bPatch
- https://git.kernel.org/stable/c/3dee9d0c198faeb95d052c1b94c2958751a28512Patch
- https://git.kernel.org/stable/c/544d857b42a1734b923040e13aa61a6fd4746cf2Patch
- https://git.kernel.org/stable/c/899ee91156e57784090c5565e4f31bd7dbffbc5aPatch
- https://git.kernel.org/stable/c/a071e057518decc5e3bec89855758f5f8786f2c5Patch
- https://git.kernel.org/stable/c/b198ed4e52580a7238c7c7082f03906f8b310313Patch
- https://git.kernel.org/stable/c/b685d6ef6f07a3b5ce814565a25f39f2157538a5Patch
- https://git.kernel.org/stable/c/d5d01d35a5a7d36f7cb679b67d9cbdd5205672dcPatch
- https://access.redhat.com/errata/RHSA-2026:27288Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27353Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27354Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27355Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27704Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27705Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:27706Third Party Advisory
FAQ
What is CVE-2026-46331?
CVE-2026-46331 is a vulnerability with a CVSS score of 7.8 (HIGH). 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()...
How severe is CVE-2026-46331?
CVE-2026-46331 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-46331?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.