CVE-2026-72338
net/sched: act_pedit: fix TOCTOU heap OOB write in tc offload
Mitigation
- Upgrade Linux to 8b519cbcabe836a441369fbec1a8a6518a709251 or later.
Who should check
- Anyone running Linux >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 1afdf2268b71251ea70d80bd8232a2f022e62a73; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 0d8532a5e972a5351cf4ee4a435e0d65cbba8f23; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 27488e1a7f19757e6146edca9458ed4ffc545557; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 6f9b23eb92a894ae1118893996943990ee0b860e; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 8e49cd891bda447c68122d672510a604a8bb6b24; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 8b519cbcabe836a441369fbec1a8a6518a709251
- Anyone running Linux 4.11
Vulnerability facts
- Affected
- Linux >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 1afdf2268b71251ea70d80bd8232a2f022e62a73; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 0d8532a5e972a5351cf4ee4a435e0d65cbba8f23; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 27488e1a7f19757e6146edca9458ed4ffc545557; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 6f9b23eb92a894ae1118893996943990ee0b860e; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 8e49cd891bda447c68122d672510a604a8bb6b24; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 8b519cbcabe836a441369fbec1a8a6518a709251; Linux 4.11
- Fixed in
- Linux 1afdf2268b71251ea70d80bd8232a2f022e62a73, Linux 0d8532a5e972a5351cf4ee4a435e0d65cbba8f23, Linux 27488e1a7f19757e6146edca9458ed4ffc545557, Linux 6f9b23eb92a894ae1118893996943990ee0b860e, Linux 8e49cd891bda447c68122d672510a604a8bb6b24, Linux 8b519cbcabe836a441369fbec1a8a6518a709251
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net/sched: act_pedit: fix TOCTOU heap OOB write in tc offload There is a TOCTOU race condition in flower lockless approach between sizing a flow_rule buffer and filling it. zdi-disclosures@trendmicro.com reports: The cls_flower classifier operates with TCF_PROTO_OPS_DOIT_UNLOCKED (fl_change runs without RTNL), while RTM_NEWACTION holds RTNL, so the independent locking domains make the race reachable in practice. KASAN confirms: BUG: KASAN: slab-out-of-bounds in tcf_pedit_offload_act_setup+0x81b/0x930 Write of size 4 at addr ffff888001f27520 by task poc-toctou/312 The buggy address is located 0 bytes to the right of allocated 288-byte region [ffff888001f27400, ffff888001f27520) (cache kmalloc-512) Note: The result is a heap OOB write attacker-controlled content into the adjacent slab object (requires CAP_NET_ADMIN). The fix introduces reading tcfp_nkeys under act->tcfa_lock in all places using a new tcf_pedit_nkeys_locked() which replaces the old tcf_pedit_nkeys(). Additionally we close the remaining TOCTOU window between the sizing read and the fill reads by more careful accounting. Rather than silently truncating the key count, which leads to incorrect action semantics offloaded to hardware and secondary OOB writes if the remaining capacity is zero or consumed by prior actions, we enforce remaining capacity checks and return -ENOSPC if the required space exceeds the remaining capacity.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 1afdf2268b71251ea70d80bd8232a2f022e62a73; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 0d8532a5e972a5351cf4ee4a435e0d65cbba8f23; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 27488e1a7f19757e6146edca9458ed4ffc545557; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 6f9b23eb92a894ae1118893996943990ee0b860e; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 8e49cd891bda447c68122d672510a604a8bb6b24; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 8b519cbcabe836a441369fbec1a8a6518a709251 | — | cvelist |
| Linux | 4.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-72338. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-72338.md Affected: Linux >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 1afdf2268b71251ea70d80bd8232a2f022e62a73; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 0d8532a5e972a5351cf4ee4a435e0d65cbba8f23; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 27488e1a7f19757e6146edca9458ed4ffc545557; >= 71d0ed7079dffbc5cd0941d… Fixed in: Linux 1afdf2268b71251ea70d80bd8232a2f022e62a73, Linux 0d8532a5e972a5351cf4ee4a435e0d65cbba8f23, Linux 27488e1a7f19757e6146edca9458ed4ffc545557, Linux 6f9b23eb92a894ae1118893996943990ee0b860e, Linux 8e49cd891bda447c68122d672510a604a8bb6b24, Linux 8b519cbcabe836a441369fbec1a8a6518a709251 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/1afdf2268b71251ea70d80bd8232a2f022e62a73
- https://git.kernel.org/stable/c/0d8532a5e972a5351cf4ee4a435e0d65cbba8f23
- https://git.kernel.org/stable/c/27488e1a7f19757e6146edca9458ed4ffc545557
- https://git.kernel.org/stable/c/6f9b23eb92a894ae1118893996943990ee0b860e
- https://git.kernel.org/stable/c/8e49cd891bda447c68122d672510a604a8bb6b24
- https://git.kernel.org/stable/c/8b519cbcabe836a441369fbec1a8a6518a709251
FAQ
Is CVE-2026-72338 being exploited?
There is no confirmed exploitation: CVE-2026-72338 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-72338?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-72338?
Linux >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 1afdf2268b71251ea70d80bd8232a2f022e62a73; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 0d8532a5e972a5351cf4ee4a435e0d65cbba8f23; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 27488e1a7f19757e6146edca9458ed4ffc545557; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 6f9b23eb92a894ae1118893996943990ee0b860e; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 8e49cd891bda447c68122d672510a604a8bb6b24; >= 71d0ed7079dffbc5cd0941d77d9b84e04109c9bb, < 8b519cbcabe836a441369fbec1a8a6518a709251; Linux 4.11.
Is there a fix for CVE-2026-72338?
Yes. Fixed in Linux 1afdf2268b71251ea70d80bd8232a2f022e62a73, Linux 0d8532a5e972a5351cf4ee4a435e0d65cbba8f23, Linux 27488e1a7f19757e6146edca9458ed4ffc545557, Linux 6f9b23eb92a894ae1118893996943990ee0b860e, Linux 8e49cd891bda447c68122d672510a604a8bb6b24, Linux 8b519cbcabe836a441369fbec1a8a6518a709251. Upgrade Linux to 8b519cbcabe836a441369fbec1a8a6518a709251 or later.
How do I check if I'm affected by CVE-2026-72338?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.