{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-46331","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-05-13T15:03:33.112Z","datePublished":"2026-06-16T06:26:21.066Z","dateUpdated":"2026-06-19T12:00:28.128Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-06-19T12:00:28.128Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: fix pedit partial COW leading to page cache corruption\n\ntcf_pedit_act() computes the COW range for skb_ensure_writable()\nonce before the key loop using tcfp_off_max_hint, but the hint does\nnot account for the runtime header offset added by typed keys. This\ncan leave part of the write region un-COW'd.\n\nFix by moving skb_ensure_writable() inside the per-key loop where\nthe actual write offset is known, and add overflow checking on the\noffset arithmetic. For negative offsets (e.g. Ethernet header edits\nat ingress), use skb_cow() to COW the headroom instead. Guard\noffset_valid() against INT_MIN, where negation is undefined."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/tc_act/tc_pedit.h","net/sched/act_pedit.c"],"versions":[{"version":"8b796475fd7882663a870456466a4fb315cc1bd6","lessThan":"2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b","status":"affected","versionType":"git"},{"version":"8b796475fd7882663a870456466a4fb315cc1bd6","lessThan":"b198ed4e52580a7238c7c7082f03906f8b310313","status":"affected","versionType":"git"},{"version":"8b796475fd7882663a870456466a4fb315cc1bd6","lessThan":"3dee9d0c198faeb95d052c1b94c2958751a28512","status":"affected","versionType":"git"},{"version":"8b796475fd7882663a870456466a4fb315cc1bd6","lessThan":"899ee91156e57784090c5565e4f31bd7dbffbc5a","status":"affected","versionType":"git"},{"version":"d0c38a914b0c4c21d553da801003d36979016726","status":"affected","versionType":"git"},{"version":"2ec2dd7d51a9320151f275ddbb2b53260fb32ca1","status":"affected","versionType":"git"},{"version":"abe35bf3be51482593076d516a680d79e5fbc8e1","status":"affected","versionType":"git"},{"version":"b773640d5bb9e2acfd91e2695717af04d47aa116","status":"affected","versionType":"git"},{"version":"c19cc520b3d69904e9518d401ad0df7f4702aca0","status":"affected","versionType":"git"},{"version":"4.19.244","lessThan":"4.20","status":"affected","versionType":"semver"},{"version":"5.4.195","lessThan":"5.5","status":"affected","versionType":"semver"},{"version":"5.10.117","lessThan":"5.11","status":"affected","versionType":"semver"},{"version":"5.15.41","lessThan":"5.16","status":"affected","versionType":"semver"},{"version":"5.17.9","lessThan":"5.18","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/tc_act/tc_pedit.h","net/sched/act_pedit.c"],"versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","status":"unaffected","versionType":"semver"},{"version":"6.12.94","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.36","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.0.13","lessThanOrEqual":"7.0.*","status":"unaffected","versionType":"semver"},{"version":"7.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.12.94"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.18.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"7.0.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"7.1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.244"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.195"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.41"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.17.9"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b"},{"url":"https://git.kernel.org/stable/c/b198ed4e52580a7238c7c7082f03906f8b310313"},{"url":"https://git.kernel.org/stable/c/3dee9d0c198faeb95d052c1b94c2958751a28512"},{"url":"https://git.kernel.org/stable/c/899ee91156e57784090c5565e4f31bd7dbffbc5a"}],"title":"net/sched: fix pedit partial COW leading to page cache corruption","x_generator":{"engine":"bippy-1.2.0"}}}}