Linux
net/sched: fix pedit partial COW leading to page cache corruption
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= abe35bf3be51482593076d516a680d79e5fbc8e1, < 544d857b42a1734b923040e13aa61a6fd4746cf2
- >= b773640d5bb9e2acfd91e2695717af04d47aa116, < d5d01d35a5a7d36f7cb679b67d9cbdd5205672dc
- >= 8b796475fd7882663a870456466a4fb315cc1bd6, < a071e057518decc5e3bec89855758f5f8786f2c5
- >= 8b796475fd7882663a870456466a4fb315cc1bd6, < b685d6ef6f07a3b5ce814565a25f39f2157538a5
- >= 8b796475fd7882663a870456466a4fb315cc1bd6, < 2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b
- >= 8b796475fd7882663a870456466a4fb315cc1bd6, < b198ed4e52580a7238c7c7082f03906f8b310313
- >= 8b796475fd7882663a870456466a4fb315cc1bd6, < 3dee9d0c198faeb95d052c1b94c2958751a28512
- >= 8b796475fd7882663a870456466a4fb315cc1bd6, < 899ee91156e57784090c5565e4f31bd7dbffbc5a
- d0c38a914b0c4c21d553da801003d36979016726
- 2ec2dd7d51a9320151f275ddbb2b53260fb32ca1
- c19cc520b3d69904e9518d401ad0df7f4702aca0
- >= 5.10.117, < 5.10.260
- >= 5.15.41, < 5.15.211
- >= 4.19.244, < 4.20
- >= 5.4.195, < 5.5
- >= 5.17.9, < 5.18
Fixed in 544d857b42a1734b923040e13aa61a6fd4746cf2, d5d01d35a5a7d36f7cb679b67d9cbdd5205672dc, a071e057518decc5e3bec89855758f5f8786f2c5, b685d6ef6f07a3b5ce814565a25f39f2157538a5, 2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b, b198ed4e52580a7238c7c7082f03906f8b310313, 3dee9d0c198faeb95d052c1b94c2958751a28512, 899ee91156e57784090c5565e4f31bd7dbffbc5a, 5.10.260, 5.15.211, 4.20, 5.5, 5.18
- 5.18
Fixed in 0, 5.10.260, 5.15.211, 6.1.177, 6.6.144, 6.12.94, 6.18.36, 7.0.13, 7.1
Mitigation
Upgrade Linux to 544d857b42a1734b923040e13aa61a6fd4746cf2 or d5d01d35a5a7d36f7cb679b67d9cbdd5205672dc or a071e057518decc5e3bec89855758f5f8786f2c5 or b685d6ef6f07a3b5ce814565a25f39f2157538a5 or 2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b or b198ed4e52580a7238c7c7082f03906f8b310313 or 3dee9d0c198faeb95d052c1b94c2958751a28512 or 899ee91156e57784090c5565e4f31bd7dbffbc5a or 5.10.260 or 5.15.211 or 4.20 or 5.5 or 5.18 or later.
Upgrade Linux to 0 or 5.10.260 or 5.15.211 or 6.1.177 or 6.6.144 or 6.12.94 or 6.18.36 or 7.0.13 or 7.1 or later.
Timeline
Days relative to CVE publicationFirst public PoC 11 days after publication; not in CISA KEV. First PoC: 0xBlackash/CVE-2026-46331 (created 26 Jun 2026, found by us: backfilled).
PoC repositories
Found on GitHub.10 PoCs · 4 pending · 4 informational · 1 suspicious or fake
PoCs 10
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 0xBlackash/CVE-2026-46331 | 26 Jun 2026 +11 d | 38 | PoC |
| 0xredash/CVE-2026-46331 | 26 Jun 2026 +11 d | 38 | PoC |
| ashrafzaryouh/CVE-2026-46331 | 26 Jun 2026 +11 d | 38 | PoC |
| vulnquest58/dirtyclone-exploit | 28 Jun 2026 +12 d | 7 | PoC |
| seguridadentrerios/CVE-2026-46331 | 30 Jun 2026 +14 d | 0 | PoC via PoC Index |
| V0IDNETWORK/CVE-2026-46331 | 1 Jul 2026 +15 d | 1 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| yanxinwu946/CVE-2026-46331 | 11 Jul 2026 +25 d | 5 | PoC |
| 0xdeadroot/pedit-cow-exploit | 22 Jul 2026 +36 d | 1 | PoC |
| rjt-gupta/page-cache-corruption-lpes | 22 Jul 2026 +37 d | 13 | PoC via PoC Index |
| theendofabbys/pedit-cow | 15 Sep 2026 +91 d | 0 | PoC via PoC Index |
Pending 4
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| sgkdev/packet_edit_meme | 17 Jun 2026 +22 h | backfilled | 148 | Pending · mkdir /quarantine/sgkdev__packet_edit_meme-e89260a8e994: permission denied |
| Quaerendir/cve-2026-46331-audit | 29 Jun 2026 +14 d | backfilled | 0 | Pending · mkdir /quarantine/Quaerendir__cve-2026-46331-audit-a9add5d95fdd: permission denied |
| g0thamRabb1t/CVE-2026-46331-pedit-COW-detection | 30 Jun 2026 +15 d | backfilled | 0 | Pending · mkdir /quarantine/g0thamRabb1t__CVE-2026-46331-pedit-COW-detection-c302e709b385: permission denied |
| Ayataaki/CVE_2026_46331 | 14 Nov 2026 +151 d | 14 Nov 2026 | 0 | Pending · listed by PoC Index; via PoC Index |
Informational 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| douglasmun/pagecache-lpe-containment-kit | 27 Jun 2026 +11 d | 3 | Informational · detection |
| MarwahHadi/CVE-2026-46331-pedit-cow | 12 Jul 2026 +27 d | 0 | Informational · write-up
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| cherrycherrymay/PoC-CVE-2026-46331 | 24 Jul 2026 +38 d | 0 | Informational · write-up |
| nawalacheker1/CVE-2026-46331 | 30 Jul 2026 +44 d | 0 | Informational · write-up |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| HORKimhab/CVE-2026-46331 | 27 Jun 2026 +11 d | 0 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://github.com/sgkdev/packet_edit_meme/tree/main | unknown | 14 Nov 2026 |