Time-of-check Time-of-use (TOCTOU) Race Condition in Linux kernel - CVE-2026-72338
Published: August 16, 2026
Vulnerability details
The vulnerability allows a local privileged user to perform an out-of-bounds heap write.
The vulnerability exists due to a time-of-check time-of-use race condition leading to an out-of-bounds write in the act_pedit tc offload handling when sizing and filling a flow_rule buffer during cls_flower offload processing. A local privileged user can trigger concurrent action and classifier operations to perform an out-of-bounds heap write.
The written data is attacker-controlled and can corrupt an adjacent slab object.
Affected software
Ubuntu
linux-gcp-7.0 (Ubuntu package)
linux-azure-7.0 (Ubuntu package)
How to mitigate CVE-2026-72338
linux-gcp-7.0 (Ubuntu package) - addressed in versions 7.0.0-38.38~24.04.4, 7.0.0-1013.13~24.04.1, 7.0.0-1014.14~24.04.1
linux-azure-7.0 (Ubuntu package) - addressed in versions 7.0.0-1016.16~24.04.1, 7.0.0-1017.17~24.04.1
External References
- 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/8b519cbcabe836a441369fbec1a8a6518a709251
- https://git.kernel.org/stable/c/8e49cd891bda447c68122d672510a604a8bb6b24