CVE-2026-53162
published high CVSS 3.1 · 7.8memcg: use round-robin victim selection in refill_stock
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf735eebe55f8f61758fe014bd0b02ab50b059e4d to < 89bd8215e25aa6999cc51696da418e0d422bc5e0 · f735eebe55f8f61758fe014bd0b02ab50b059e4d to < 00731bd7e18f182a32ca54d6b176eaa470b51ed7 · f735eebe55f8f61758fe014bd0b02ab50b059e4d to < c0cafe24d3f6534294c4b2bc2d47734ff7cbd313 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.18.36 through 6.18.* (unaffected · semver) · 7.0.13 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1925 | Fixed | Not stated | Amazon Linux assessment |
| Ubuntu | noble | linux-aws-7.0 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-aws-7.0-cloud-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-aws-7.0-headers-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-aws-7.0-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-azure-7.0 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-headers-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-headers-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-headers-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-lib-rust-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-evdi-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-ipu6-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-ipu7-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-usbio-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-vision-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-nvidia-7.0 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-nvidia-7.0-headers-7.0.0-1018 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-nvidia-7.0-tools-7.0.0-1018 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-tools-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-tools-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-tools-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | resolute | bpftool | Advisory build | 7.7.0+7.0.0-31.31 | USN-8726-1 |
| Ubuntu | resolute | linux | Advisory build | 7.0.0-31.31 | USN-8726-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-headers-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-azure | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
| Ubuntu | resolute | linux-azure-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
| Ubuntu | resolute | linux-azure-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable `refill_stock()` path is reached through local kernel activity such as memcg-accounted allocation/free paths and NMI-capable perf/BPF-style execution, not by unauthenticated network packets alone. AC:L - An attacker can repeatedly drive memcg stock eviction and high-rate NMI/RNG activity; the race is timing-sensitive but both sides are influenceable from local execution. PR:L - Reachability requires a local user context able to create or use memcg-accounted workloads and NMI-capable facilities such as perf/BPF or delegated equivalents, so low privileges are sufficient in a plausible deployment. UI:N - No separate victim action is required once the attacker can run the local workload and trigger the accounting/NMI activity. S:U - The corrupted state is inside the same kernel security authority; this is not a VM, IOMMU, or sandbox boundary escape by itself. C:H - The bug corrupts per-CPU random subsystem batch state used for security-sensitive randomness, so confidentiality impact is high under the required higher-severity assumption. I:H - Corruption of kernel RNG state can undermine integrity of random-dependent kernel protections and identifiers, and the vulnerable interleaving includes state writes outside the intended entropy slot. A:H - Kernel per-CPU state corruption in NMI context can lead to unpredictable kernel malfunction or hard failure, so availability impact is high.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | f735eebe55f8f61758fe014bd0b02ab50b059e4d to < 89bd8215e25aa6999cc51696da418e0d422bc5e0 (affected · git)f735eebe55f8f61758fe014bd0b02ab50b059e4d to < 00731bd7e18f182a32ca54d6b176eaa470b51ed7 (affected · git)f735eebe55f8f61758fe014bd0b02ab50b059e4d to < c0cafe24d3f6534294c4b2bc2d47734ff7cbd313 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.18.36 through 6.18.* (unaffected · semver)7.0.13 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
memcg: use round-robin victim selection in refill_stock
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8439f5bd170bde7e755b5f6487c075055cac57aa845c3b444e5d9bee327502be
- Ingested
- 23 Sep 2026, 09:19:36 UTC
- Source record
- Official CVE record