Race condition in Linux kernel - CVE-2026-53162

 

Race condition in Linux kernel - CVE-2026-53162

Published: June 26, 2026


Vulnerability identifier: #VU135626
CSH Severity: Low
CVSS v4: 5.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-53162
CWE-ID: CWE-362
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to cause memory corruption.

The vulnerability exists due to memory corruption in refill_stock in mm/memcontrol.c when memcg charge draining occurs in nmi context. A local attacker can trigger re-entry into the random subsystem during an NMI to cause memory corruption.

The issue occurs because get_random_u32_below() is not reentrant- or NMI-safe and may corrupt per-cpu ChaCha batch state during a mid-update recursion.


Affected software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)

How to mitigate CVE-2026-53162

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3
linux (Ubuntu package) - addressed in versions 7.0.0-31.31, 7.0.0-31.31.1, 7.0.0-31.31~24.04.1, 7.0.0-1006.7, 7.0.0-1011.11~24.04.1, 7.0.0-1012.12, 7.0.0-1012.12~24.04.1
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1013.13

External References

Related Security Bulletins