net/sched: fix pedit partial COW leading to page cache corruption

Summary

CVECVE-2026-46331
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-16 08:16:23 UTC
Updated2026-06-19 13:16:36 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.001570000 probability, percentile 0.051670000 (date 2026-06-20)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 8b796475fd7882663a870456466a4fb315cc1bd6 2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b git Not specified
CNA Linux Linux affected 8b796475fd7882663a870456466a4fb315cc1bd6 b198ed4e52580a7238c7c7082f03906f8b310313 git Not specified
CNA Linux Linux affected 8b796475fd7882663a870456466a4fb315cc1bd6 3dee9d0c198faeb95d052c1b94c2958751a28512 git Not specified
CNA Linux Linux affected 8b796475fd7882663a870456466a4fb315cc1bd6 899ee91156e57784090c5565e4f31bd7dbffbc5a git Not specified
CNA Linux Linux affected d0c38a914b0c4c21d553da801003d36979016726 git Not specified
CNA Linux Linux affected 2ec2dd7d51a9320151f275ddbb2b53260fb32ca1 git Not specified
CNA Linux Linux affected abe35bf3be51482593076d516a680d79e5fbc8e1 git Not specified
CNA Linux Linux affected b773640d5bb9e2acfd91e2695717af04d47aa116 git Not specified
CNA Linux Linux affected c19cc520b3d69904e9518d401ad0df7f4702aca0 git Not specified
CNA Linux Linux affected 4.19.244 4.20 semver Not specified
CNA Linux Linux affected 5.4.195 5.5 semver Not specified
CNA Linux Linux affected 5.10.117 5.11 semver Not specified
CNA Linux Linux affected 5.15.41 5.16 semver Not specified
CNA Linux Linux affected 5.17.9 5.18 semver Not specified
CNA Linux Linux affected 5.18 Not specified
CNA Linux Linux unaffected 5.18 semver Not specified
CNA Linux Linux unaffected 6.12.94 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.36 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.13 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/b198ed4e52580a7238c7c7082f03906f8b310313 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/899ee91156e57784090c5565e4f31bd7dbffbc5a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3dee9d0c198faeb95d052c1b94c2958751a28512 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report