CVE-2026-46331

HIGH

net/sched: fix pedit partial COW leading to page cache corruption

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 19 public exploits for CVE-2026-46331. PoCs published by Unclecheng-li, rjt-gupta, douglasmun.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2026-46331, which leverages a page-cache write primitive in the Linux kernel's tc-pedit module to achieve unprivileged local root access. The exploit overwrites the ELF entry point of a setuid-root su binary in the shared page cache with shellcode, granting root privileges.

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.

Exploits (19)

github WORKING POC 665 stars
by Unclecheng-li · cpoc
https://github.com/Unclecheng-li/poc-lab/tree/main/CVE-2026-46331 act_pedit

This repository contains a functional exploit for CVE-2026-46331, which leverages a page-cache write primitive in the Linux kernel's tc-pedit module to achieve unprivileged local root access. The exploit overwrites the ELF entry point of a setuid-root su binary in the shared page cache with shellcode, granting root privileges.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (v5.18 to v7.1-rc6)
No auth needed
Prerequisites: Unprivileged user access · Presence of a setuid-root su binary · CAP_NET_ADMIN capability (obtained via user+net namespace unshare)
mistral-large-3 · analyzed Jun 28, 2026 Full analysis →
nomisec WORKING POC 2 stars
by rjt-gupta · poc
https://github.com/rjt-gupta/page-cache-corruption-lpes

This repository contains three functional Linux kernel exploit PoCs for CVE-2026-46331, leveraging page cache corruption via GRO flag loss, skb_shift, and pedit mechanisms to achieve local privilege escalation by overwriting setuid binaries or /etc/passwd.

Classification
Working Poc 98%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (versions vulnerable to page cache corruption via GRO/skb_shift/pedit)
No auth needed
Prerequisites: Unprivileged user namespaces enabled · Target binary (/usr/bin/su or /etc/passwd) writable via page cache · Kernel version lacking SKBFL_SHARED_FRAG propagation fixes
mistral-large-3 · analyzed Jul 24, 2026 Full analysis →
github WRITEUP 1 stars
by douglasmun · shellpoc
https://github.com/douglasmun/pagecache-lpe-containment-kit

This repository provides a defensive containment kit for CVE-2026-46331, focusing on hardening Linux systems against a local privilege escalation (LPE) vulnerability in the page cache. It includes scripts for verification, hardening, and detection, along with detailed documentation and testing frameworks for EC2 and Docker environments.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux Kernel (specific version not specified)
Auth required
Prerequisites: Linux system with vulnerable kernel · Root access for hardening · Bash and standard Linux utilities
mistral-large-3 · analyzed Jun 27, 2026 Full analysis →
github WRITEUP
by cherrycherrymay · poc
https://github.com/cherrycherrymay/PoC-CVE-2026-46331

The repository provides a detailed technical analysis of CVE-2026-46331, a Linux kernel local privilege escalation vulnerability in the traffic-control subsystem's act_pedit action. The flaw involves incorrect copy-on-write writable range calculation, allowing unprivileged users to poison cached setuid-root binaries for privilege escalation.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Racy
Target: Linux kernel (traffic-control subsystem, act_pedit action)
Auth required
Prerequisites: Local unprivileged access · Access to vulnerable namespace and traffic-control functionality · Vulnerable kernel version
mistral-large-3 · analyzed Jul 24, 2026 Full analysis →
github WRITEUP
by MarwahHadi · poc
https://github.com/MarwahHadi/CVE-2026-46331-pedit-cow

Technical writeup detailing a Linux kernel privilege escalation (LPE) vulnerability in the traffic-control subsystem's `act_pedit` action (CVE-2026-46331). The flaw allows an unprivileged user to exploit a copy-on-write (COW) race condition to overwrite a setuid-root binary in memory, achieving root access without modifying the on-disk file.

Classification
Writeup 98%
Attack Type
Lpe
Complexity
Moderate
Reliability
Racy
Target: Linux kernel (traffic-control subsystem, act_pedit action)
No auth needed
Prerequisites: Unprivileged user namespace support enabled · Target system running a vulnerable Linux kernel version · Access to `tc` (traffic control) utility
mistral-large-3 · analyzed Jul 13, 2026 Full analysis →
gitlab WORKING POC
by grisuno · poc
https://gitlab.com/grisuno/packet_edit_meme

This repository contains a weaponized local privilege escalation (LPE) exploit for CVE-2026-46331, leveraging a tc-pedit page-cache write primitive to overwrite the ELF entry point of a setuid-root binary (su) with shellcode. The exploit uses unprivileged user+net namespaces to gain CAP_NET_ADMIN and achieve root access.

Classification
Working Poc 99%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (v5.18 to v7.1-rc6)
Auth required
Prerequisites: Unprivileged user access · Target system running a vulnerable Linux kernel (v5.18 to v7.1-rc6) · Presence of a setuid-root binary (e.g., /bin/su) · CAP_NET_ADMIN capability obtainable via user+net namespaces (or AppArmor bypass for Ubuntu)
mistral-large-3 · analyzed Jul 12, 2026 Full analysis →
nomisec WORKING POC
by yanxinwu946 · poc
https://github.com/yanxinwu946/CVE-2026-46331

This repository contains a functional local privilege escalation (LPE) exploit for CVE-2026-46331, leveraging a tc-pedit page-cache write primitive to overwrite ELF metadata of a setuid-root binary with shellcode, achieving unprivileged root access. The exploit uses user+net namespaces to obtain CAP_NET_ADMIN and targets kernels v5.18 to v7.1-rc6.

Classification
Working Poc 99%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (v5.18 to v7.1-rc6)
No auth needed
Prerequisites: Unprivileged user access · CAP_NET_ADMIN capability (obtained via user+net namespaces) · Presence of a setuid-root binary (auto-discovered via `find`) · Linux kernel version between v5.18 and v7.1-rc6
mistral-large-3 · analyzed Jul 11, 2026 Full analysis →
github WORKING POC
by aexdyhaxor · cpoc
https://github.com/aexdyhaxor/CVE-2026-46331

This PoC exploits a Linux kernel vulnerability (CVE-2026-46331) in the net/sched act_pedit module, causing partial COW page cache corruption to achieve local privilege escalation. The exploit uses crafted netlink messages to manipulate packet editing (pedit) actions and trigger memory corruption.

Classification
Working Poc 98%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux kernel (net/sched act_pedit module)
Auth required
Prerequisites: Local user access · Vulnerable Linux kernel version · CAP_NET_ADMIN capability or equivalent privileges
mistral-large-3 · analyzed Jul 10, 2026 Full analysis →
github WRITEUP
by V0IDNETWORK · c++poc
https://github.com/V0IDNETWORK/CVE-2026-46331

The repository provides a detailed technical analysis of CVE-2026-46331, a Linux kernel privilege escalation vulnerability in the `act_pedit` module. It includes before/after patch code snippets demonstrating the root cause (incorrect COW range calculation) and mitigation.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (v5.18 through 7.1-rc6)
No auth needed
Prerequisites: CAP_NET_ADMIN in a user namespace · unpatched kernel with `act_pedit` module
mistral-large-3 · analyzed Jul 01, 2026 Full analysis →
nomisec WRITEUP
by g0thamRabb1t · poc
https://github.com/g0thamRabb1t/CVE-2026-46331-pedit-COW-detection

This repository contains detailed technical reports analyzing CVE-2026-46331, a Linux kernel local privilege escalation (LPE) vulnerability in the `act_pedit` module. The reports focus on Copy-on-Write (COW) behavior, auditd telemetry, AppArmor mitigation, and detection logic, but do not include exploit code.

Classification
Writeup 98%
Attack Type
Lpe
Complexity
Moderate
Reliability
Theoretical
Target: Linux kernel (act_pedit module)
Auth required
Prerequisites: Local access to a vulnerable Linux system · Knowledge of kernel networking modules and auditd/AppArmor configurations
mistral-large-3 · analyzed Jul 10, 2026 Full analysis →
nomisec WRITEUP
by g0thamRabb1t · poc
https://github.com/g0thamRabb1t/cve-2026-46331-pedit-cow-auditd-detection

This repository contains a defensive validation report for CVE-2026-46331, focusing on Linux kernel `act_pedit` local privilege escalation behavior, auditd telemetry, and AppArmor mitigation. It includes PDF reports in English and Polish but no functional exploit code.

Classification
Writeup 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Theoretical
Target: Linux kernel (act_pedit)
No auth needed
Prerequisites: Linux kernel with vulnerable `act_pedit` implementation
mistral-large-3 · analyzed Jul 01, 2026 Full analysis →
github SCANNER
by seguridadentrerios · shellpoc
https://github.com/seguridadentrerios/CVE-2026-46331

This repository contains diagnostic and mitigation scripts for CVE-2026-46331, a Linux kernel local privilege escalation vulnerability. The scripts check kernel configurations and apply temporary mitigations but do not include exploit code.

Classification
Scanner 90%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Linux kernel (version not specified)
No auth needed
Prerequisites: access to the target system · root privileges for mitigation
mistral-large-3 · analyzed Jun 30, 2026 Full analysis →
github SCANNER
by Quaerendir · shellpoc
https://github.com/Quaerendir/cve-2026-46331-audit

This repository contains a read-only audit script for CVE-2026-46331, which checks for the presence of the vulnerability in the Linux kernel's net/sched act_pedit action. It does not exploit the vulnerability but scans for conditions that indicate potential exposure.

Classification
Scanner 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: Linux kernel (5.18 to 7.1-rc6)
No auth needed
Prerequisites: Unprivileged user namespace access · act_pedit module availability
mistral-large-3 · analyzed Jun 30, 2026 Full analysis →
nomisec WORKING POC
by vulnquest58 · poc
https://github.com/vulnquest58/dirtyclone-exploit

This repository contains a functional exploit for CVE-2026-46331, a Linux kernel local privilege escalation vulnerability. The exploit leverages packet crafting to trigger a page cache corruption via malformed UDP packets, leading to arbitrary code execution with root privileges.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel (versions not specified, but likely recent)
No auth needed
Prerequisites: Local access to the target system · Ability to send raw packets (root or CAP_NET_RAW capability)
mistral-large-3 · analyzed Jun 28, 2026 Full analysis →
github WRITEUP
by HORKimhab · poc
https://github.com/HORKimhab/poc-cve-collection/tree/main/2026/46xxx/CVE-2026-46331.md

This repository contains a technical writeup describing CVE-2026-46331, a Linux kernel vulnerability in the net/sched subsystem where incorrect COW handling in tcf_pedit_act() leads to page cache corruption. The writeup details the root cause and fix but does not include functional exploit code.

Classification
Writeup 90%
Attack Type
Dos
Complexity
Moderate
Reliability
Theoretical
Target: Linux kernel (net/sched subsystem)
No auth needed
Prerequisites: Linux kernel with vulnerable net/sched implementation
mistral-large-3 · analyzed Jun 27, 2026 Full analysis →
github SUSPICIOUS
by HORKimhab · poc
https://github.com/HORKimhab/CVE-2026-46331

The repository lacks actual exploit code or technical details about CVE-2026-46331, instead providing generic setup instructions and a script to download external content. The README is filled with disclaimers and ethical use statements but no substantive vulnerability analysis.

Classification
Suspicious 90%
Attack Type
Other
Complexity
Theoretical
Reliability
Theoretical
Target: unspecified
No auth needed
Prerequisites: none provided
mistral-large-3 · analyzed Jun 27, 2026 Full analysis →
nomisec WORKING POC
by 0xBlackash · poc
https://github.com/0xBlackash/CVE-2026-46331

This repository contains a functional local privilege escalation (LPE) exploit for CVE-2026-46331, targeting a Linux kernel vulnerability in the net/sched act_pedit subsystem due to incorrect Copy-on-Write (COW) handling. The exploit leverages traffic control (tc) packet editing to trigger page cache corruption, potentially leading to privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux kernel (net/sched act_pedit)
Auth required
Prerequisites: Local code execution · CAP_NET_ADMIN capability or unprivileged user namespace access
mistral-large-3 · analyzed Jun 27, 2026 Full analysis →
nomisec WORKING POC
by sgkdev · poc
https://github.com/sgkdev/packet_edit_meme

This repository contains a functional exploit for CVE-2026-46331, a local privilege escalation vulnerability in the Linux kernel. The exploit leverages a page-cache overwrite primitive via tc-pedit actions to corrupt the ELF entry point of a setuid-root binary (e.g., su), achieving root access from an unprivileged user.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel v5.18 to v7.1-rc6
No auth needed
Prerequisites: Unprivileged user access · Presence of a setuid-root binary (e.g., su) · CAP_NET_ADMIN capability (obtained via user+net namespace unshare)
mistral-large-3 · analyzed Jun 17, 2026 Full analysis →

References (44)

Core 44
Core References

Scores

CVSS v3 7.8
EPSS 0.0053
EPSS Percentile 41.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-190 CWE-787
Status published
Products (40)
linux/Kernel < 5.10.260linux
linux/Kernel 5.11.0 - 5.15.211linux
linux/Kernel 5.16.0 - 6.1.177linux
linux/Kernel 5.18.0 - 6.6.144linux
linux/Kernel 6.13.0 - 7.0.13linux
linux/Kernel 6.2.0 - 6.12.94linux
linux/Kernel 6.7.0 - 6.18.36linux
Linux/Linux < 5.18
Linux/Linux 2ec2dd7d51a9320151f275ddbb2b53260fb32ca1
Linux/Linux 4.19.244 - 4.20
... and 30 more
Published Jun 16, 2026
Tracked Since Jun 16, 2026