CVE-2026-46331: net/sched: fix pedit partial COW leading to page cache corruption
In the Linux kernel, the following vulnerability has been resolved:
Other sources
tcfpeditact() builds a rough writable prefix from tcfpoffmaxhint before the action mutates any packet bytes.
Since 6c02568fd1ae, TCP and UDP keys recompute their L4 base from the current L3 header inside the key loop. An earlier key can therefore change a later header-relative base and make the final store land outside the initially ensured prefix, where it can fall back to skbstorebits() on skb frags.
Keep the initial estimate as a fast path, but grow the ensured writable range from each key's final computed write offset before loading or storing the edited word.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.262-1Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.101-1Fixed in 7.1.8-2 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.180-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-46331?
CVE-2026-46331 has a risk severity rating of 57.
How do I fix CVE-2026-46331?
Fixing CVE-2026-46331 involves updating to the latest version of the Linux kernel where the vulnerability has been resolved.
What does CVE-2026-46331 affect?
CVE-2026-46331 affects the Linux kernel's net/sched code, specifically related to the pedit functionality.
What issues can CVE-2026-46331 cause?
CVE-2026-46331 can lead to page cache corruption due to a flaw in how COW ranges are computed.
When was CVE-2026-46331 published?
CVE-2026-46331 was published on June 16, 2026.