CVE-2026-46331: Pedit COW
- Vendor
- Linux
CVE-2026-46331 is an incomplete copy-on-write vulnerability in the Linux kernel network scheduler's pedit action. The tcf_pedit_act() function calculates the range passed to skb_ensure_writable() once before processing editing keys, using tcfp_off_max_hint. This hint omits runtime header offsets added by typed keys, leaving part of the actual write region without copy-on-write protection. Subsequent packet edits can consequently modify shared, file-backed pages and corrupt the page cache, including cached contents of files the attacker can read but cannot write. Exploitation can lead to local privilege escalation when a privileged process executes a poisoned executable.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises file-content integrity in the page cache without requiring permission to modify the underlying file or changing its on-disk bytes. Poisoning an executable subsequently launched by an existing root process can result in root-level code execution. The SharedRoot sandbox-escape chain used this mechanism to obtain root inside a Claude Cowork Linux guest. Access to host files in that chain additionally depended on an existing read-write host filesystem share; the kernel vulnerability alone does not establish a VM escape or macOS root compromise.
Mitigation
If you can’t patch tonight, do this now.
Restrict traffic-control configuration and CAP_NET_ADMIN to trusted processes. Where operationally feasible, disable or restrict unprivileged user namespaces to prevent ordinary users from obtaining namespace-scoped network-administration capabilities. Remove unused act_pedit support or prevent its module autoloading; autoload restrictions do not protect a kernel where the vulnerable functionality is already loaded or built in. Sandbox policies can block namespace creation and unnecessary AF_NETLINK socket access. Isolate executables launched by privileged services from untrusted sessions. In VM-based sandboxes, expose only explicitly authorized host directories to contain the consequences of guest-root compromise.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update containing the pedit partial-COW fix and reboot into the corrected kernel. The fix moves skb_ensure_writable() into the per-key loop, where the actual write offset is known; checks offset arithmetic for overflow; uses skb_cow() to prepare headroom for negative offsets; and guards offset_valid() against INT_MIN. Debian fixed package versions include 5.10.262-1 for bullseye, 6.1.176-1 for bookworm, and 6.12.94-1 for trixie. The identified Google Container-Optimized OS kernel packages should be updated to version 18867.528.21 or later. Use the fixed build appropriate to the distribution and kernel stream rather than assuming one upstream version threshold applies universally.
Exploits
8 exploits validated by Mallory's analysis. Hidden: 9 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-46331 exploited in the wild?
- Yes. As of Nov 2, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2026-46331?
- Yes. Mallory tracks 8 public exploits or proofs of concept for CVE-2026-46331, the earliest disclosed Jun 17, 2026.
- Is there a patch for CVE-2026-46331?
- Install a vendor-supported kernel update containing the pedit partial-COW fix and reboot into the corrected kernel. The fix moves skb_ensure_writable() into the per-key loop, where the actual write offset is known; checks offset arithmetic for overflow; uses skb_cow() to prepare headroom for negative offsets; and guards offset_valid() against INT_MIN.
- What products are affected by CVE-2026-46331?
- Linux Kernel.
- How severe is CVE-2026-46331?
- CVE-2026-46331 has a CVSS v3.1 score of 6.7 (Medium) and an EPSS score of 0.20% (6th percentile) as of Nov 2, 2026.
Recent activity
232 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.