Exploit database

Vulnerability

CVE-2026-46331

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

Vulnerability details

Score
7.8
Severity
high

CVSS 3.1 · Linux

Vector string

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

6 sources
sgkdev/packet_edit_meme
GH-b20189a3b259c33f1eac834f56a989a7GitHubUnofficial GitHub sourcePreferred

PACKET_EDIT_MEME.c (aka CVE-2026-46331): yet another page cache poisoning nightmare

2026-06-176 files · 148 stars
vulnquest58/dirtyclone-exploit
GH-3920a644f5b94b088b2ccce19c45319fGitHubUnofficial GitHub source

CVE-2026-46331 — Linux Kernel Local Privilege Escalation TC pedit + IPsec TEE Page Cache Corruption · Affected kernels: ≤ 6.12.9

2026-06-2823 files · 7 stars
yanxinwu946/cve-2026-46331
GH-69259f09b418445ed25306de00ce022cGitHubUnofficial GitHub source

CVE-2026-46331 act_pedit page-cache corruption exploit, with Alpine PIE fix

2026-07-117 files · 5 stars