# CVE-2026-46331

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.

- Page: https://www.vulneraibility.com/cve/CVE-2026-46331
- CVSS: 7.8
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 0.64% (percentile 51.1)
- Unvetted proof-of-concept code on GitHub: 14 GitHub proofs of concept (first 2026-06-17)
- CISA SSVC: exploitation poc, automatable no, technical impact total (assessed 2026-06-29)
- Weakness: CWE-787, CWE-190
- Published: 2026-06-16

## Affected versions

- Linux: affected >= abe35bf3be51482593076d516a680d79e5fbc8e1 and < 544d857b42a1734b923040e13aa61a6fd4746cf2; >= b773640d5bb9e2acfd91e2695717af04d47aa116 and < d5d01d35a5a7d36f7cb679b67d9cbdd5205672dc; >= 8b796475fd7882663a870456466a4fb315cc1bd6 and < a071e057518decc5e3bec89855758f5f8786f2c5; >= 8b796475fd7882663a870456466a4fb315cc1bd6 and < b685d6ef6f07a3b5ce814565a25f39f2157538a5; >= 8b796475fd7882663a870456466a4fb315cc1bd6 and < 2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b; >= 8b796475fd7882663a870456466a4fb315cc1bd6 and < b198ed4e52580a7238c7c7082f03906f8b310313; >= 8b796475fd7882663a870456466a4fb315cc1bd6 and < 3dee9d0c198faeb95d052c1b94c2958751a28512; >= 8b796475fd7882663a870456466a4fb315cc1bd6 and < 899ee91156e57784090c5565e4f31bd7dbffbc5a; d0c38a914b0c4c21d553da801003d36979016726; 2ec2dd7d51a9320151f275ddbb2b53260fb32ca1; c19cc520b3d69904e9518d401ad0df7f4702aca0; >= 5.10.117 and < 5.10.260; >= 5.15.41 and < 5.15.211; >= 4.19.244 and < 4.20; >= 5.4.195 and < 5.5; >= 5.17.9 and < 5.18; 5.18; fixed in < 5.18, >= 5.10.260 and <= 5.10.*, >= 5.15.211 and <= 5.15.*, >= 6.1.177 and <= 6.1.*, >= 6.6.144 and <= 6.6.*, >= 6.12.94 and <= 6.12.*, >= 6.18.36 and <= 6.18.*, >= 7.0.13 and <= 7.0.*, >= 7.1 and <= *

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://git.kernel.org/stable/c/544d857b42a1734b923040e13aa61a6fd4746cf2
- [other] https://git.kernel.org/stable/c/d5d01d35a5a7d36f7cb679b67d9cbdd5205672dc
- [other] https://git.kernel.org/stable/c/a071e057518decc5e3bec89855758f5f8786f2c5
- [other] https://git.kernel.org/stable/c/b685d6ef6f07a3b5ce814565a25f39f2157538a5
- [other] https://git.kernel.org/stable/c/2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b
- [other] https://git.kernel.org/stable/c/b198ed4e52580a7238c7c7082f03906f8b310313
- [other] https://git.kernel.org/stable/c/3dee9d0c198faeb95d052c1b94c2958751a28512
- [other] https://git.kernel.org/stable/c/899ee91156e57784090c5565e4f31bd7dbffbc5a
- [exploit] https://github.com/sgkdev/packet_edit_meme/tree/main
- [other] https://access.redhat.com/security/cve/CVE-2026-46331
- [other] https://bugzilla.redhat.com/show_bug.cgi?id=2479492
- [other] https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46331.json
- [advisory] https://access.redhat.com/errata/RHSA-2026:27709
- [advisory] https://access.redhat.com/errata/RHSA-2026:33666
- [advisory] https://access.redhat.com/errata/RHSA-2026:34048
- [advisory] https://access.redhat.com/errata/RHSA-2026:40021
- [advisory] https://access.redhat.com/errata/RHSA-2026:28887
- [advisory] https://access.redhat.com/errata/RHSA-2026:28962
- [advisory] https://access.redhat.com/errata/RHSA-2026:29080
- [advisory] https://access.redhat.com/errata/RHSA-2026:34098
- [advisory] https://access.redhat.com/errata/RHSA-2026:29856
- [advisory] https://access.redhat.com/errata/RHSA-2026:29863
- [advisory] https://access.redhat.com/errata/RHSA-2026:29799
- [advisory] https://access.redhat.com/errata/RHSA-2026:29833
- [advisory] https://access.redhat.com/errata/RHSA-2026:29794
- [advisory] https://access.redhat.com/errata/RHSA-2026:27731
- [advisory] https://access.redhat.com/errata/RHSA-2026:27288
- [advisory] https://access.redhat.com/errata/RHSA-2026:27705
- [advisory] https://access.redhat.com/errata/RHSA-2026:27713
- [advisory] https://access.redhat.com/errata/RHSA-2026:27708
- [advisory] https://access.redhat.com/errata/RHSA-2026:27789
- [advisory] https://access.redhat.com/errata/RHSA-2026:33225
- [advisory] https://access.redhat.com/errata/RHSA-2026:27353
- [advisory] https://access.redhat.com/errata/RHSA-2026:33220
- [advisory] https://access.redhat.com/errata/RHSA-2026:27707
- [advisory] https://access.redhat.com/errata/RHSA-2026:27704
- [advisory] https://access.redhat.com/errata/RHSA-2026:27355
- [advisory] https://access.redhat.com/errata/RHSA-2026:33219
- [advisory] https://access.redhat.com/errata/RHSA-2026:33221
- [advisory] https://access.redhat.com/errata/RHSA-2026:33222
- [advisory] https://access.redhat.com/errata/RHSA-2026:33223
- [advisory] https://access.redhat.com/errata/RHSA-2026:33224
- [advisory] https://access.redhat.com/errata/RHSA-2026:27354
- [advisory] https://access.redhat.com/errata/RHSA-2026:27706
- [other] https://cert-portal.siemens.com/productcert/html/ssa-784472.html

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
