CVE-2026-53162
Last modified
CVE-2026-53162 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: memcg: use round-robin victim selection in refill_stock Harry Yoo reported that get_random_u32_below() is not safe to call in the nmi context and memcg charge draining can happen in nmi context. More specifically get_random_u32_below() is neither reentrant- nor NMI-safe: it acquires a per-cpu local_lock via local_lock_irqsave() on the batched_entropy_u32 state. An NMI that lands on a CPU mid-update of the ChaCha batch state and recurses into the random subsystem would corrupt that state. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: memcg: use round-robin victim selection in refill_stock Harry Yoo reported that get_random_u32_below() is not safe to call in the nmi context and memcg charge draining can happen in nmi context. More specifically get_random_u32_below() is neither reentrant- nor NMI-safe: it acquires a per-cpu local_lock via local_lock_irqsave() on the batched_entropy_u32 state. An NMI that lands on a CPU mid-update of the ChaCha batch state and recurses into the random subsystem would corrupt that state. The memcg_stock local_trylock prevents re-entry on the percpu stock itself, but cannot protect an unrelated subsystem's per-cpu lock. Replace the random pick with a per-cpu round-robin counter stored in memcg_stock_pcp and serialized by the same local_trylock that already guards cached[] and nr_pages[]. No atomics, no random calls, no extra locks needed.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.16, < 6.18.36 | — |
| Linux | Linux Kernel | >= 6.19, < 7.0.13 | — |
| Linux | Linux Kernel | 7.1 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-53162?
How severe is CVE-2026-53162?
How do I fix CVE-2026-53162?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-53157In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-53158In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-53159In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-5316A vulnerability was identified in Nothings stb up to 1.22. T…6.5
- CVE-2026-53160In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-53161In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-53163In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-53164In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-53165In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-53166Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-53167In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-53168In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2026-53162?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
