CVE-2026-46331
net/sched: fix pedit partial COW leading to page cache corruption
- State
- Published
- Severity
- 7.8 High
- Published
- Jun 16, 2026
- Updated
- Oct 15, 2026
- Reserved
- May 13, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| 3.1 | 6.7 Medium | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/544d857b42a1734b923040e13aa61a6fd4746cf2
- https://git.kernel.org/stable/c/d5d01d35a5a7d36f7cb679b67d9cbdd5205672dc
- https://git.kernel.org/stable/c/a071e057518decc5e3bec89855758f5f8786f2c5
- https://git.kernel.org/stable/c/b685d6ef6f07a3b5ce814565a25f39f2157538a5
- https://git.kernel.org/stable/c/2bec122b9fb91507a758ab5e3e5c4fbe7cb3f61b
- https://git.kernel.org/stable/c/b198ed4e52580a7238c7c7082f03906f8b310313
- https://git.kernel.org/stable/c/3dee9d0c198faeb95d052c1b94c2958751a28512
- https://git.kernel.org/stable/c/899ee91156e57784090c5565e4f31bd7dbffbc5a
- https://github.com/sgkdev/packet_edit_meme/tree/mainexploit
- https://access.redhat.com/security/cve/CVE-2026-46331vdb-entry
- RHBZ#2479492issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46331.json
- https://access.redhat.com/errata/RHSA-2026:27709vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:33666vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:34048vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:40021vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28887vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28962vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:29080vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:34098vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:29856vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:29863vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:29799vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:29833vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:29794vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:27731vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:27288vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:27705vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:27713vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:27708vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:27789vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:33225vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:27353vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:33220vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:27707vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:27704vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:27355vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:33219vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:33221vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:33222vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:33223vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:33224vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:27354vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:27706vendor-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.