CVE-2026-46331

ANALYSIS PENDING

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

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-46331. PoCs published by sgkdev.

AI-analyzed exploit summary 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.

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 (1)

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)
devstral-2 · analyzed Jun 17, 2026 Full analysis →

Scores

EPSS 0.0016
EPSS Percentile 5.2%

Details

Status published
Products (20)
Linux/Linux < 5.18
Linux/Linux 2ec2dd7d51a9320151f275ddbb2b53260fb32ca1
Linux/Linux 4.19.244 - 4.20
Linux/Linux 5.10.117 - 5.11
Linux/Linux 5.15.41 - 5.16
Linux/Linux 5.17.9 - 5.18
Linux/Linux 5.18
Linux/Linux 5.4.195 - 5.5
Linux/Linux 6.12.94 - 6.12.*
Linux/Linux 6.18.36 - 6.18.*
... and 10 more
Published Jun 16, 2026
Tracked Since Jun 16, 2026