Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-43892

published high CVSS 3.1 · 7.8

memcg: protect concurrent access to mem_cgroup_idr

Published
26 Aug 2024, 10:10:46 UTC
Updated
05 Aug 2026, 11:37:02 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux73f576c04b9410ed19660f74f97521bee6e1c546 to < 912736a0435ef40e6a4ae78197ccb5553cb80b05 · 73f576c04b9410ed19660f74f97521bee6e1c546 to < e6cc9ff2ac0b5df9f25eb790934c3104f6710278 · 73f576c04b9410ed19660f74f97521bee6e1c546 to < 56fd70f4aa8b82199dbe7e99366b1fd7a04d86fb · 73f576c04b9410ed19660f74f97521bee6e1c546 to < 37a060b64ae83b76600d187d76591ce488ab836b · 73f576c04b9410ed19660f74f97521bee6e1c546 to < 51c0b1bb7541f8893ec1accba59eb04361a70946 · 73f576c04b9410ed19660f74f97521bee6e1c546 to < 9972605a238339b85bd16b084eed5f18414d22db · 8627c7750a66a46d56d3564e1e881aa53764497c · db70cd18d3da727a3a59694de428a9e41c620de7 · 4.4.18 to < 4.5 · 4.6.6 to < 4.7 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.7 (affected) · 0 to < 4.7 (unaffected · semver) · 5.10.226 through 5.10.* (unaffected · semver) · 5.15.167 through 5.15.* (unaffected · semver) · 6.1.110 through 6.1.* (unaffected · semver) · 6.6.46 through 6.6.* (unaffected · semver) · 6.10.5 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-070 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-055 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
Debian bookworm linux Advisory build 6.1.112-1 DSA-5782-1
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2024-744 Fixed Not stated Amazon Linux assessment
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
AlmaLinux 8 kernel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 perf Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
Debian bullseye linux Advisory build 5.10.226-1 DLA-3912-1
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-302.167.6.el8uek ELSA-2024-12815
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-302.167.6.el9uek ELSA-2024-12815
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315

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: protect concurrent access to mem_cgroup_idr Commit 73f576c04b94 ("mm: memcontrol: fix cgroup creation failure after many small jobs") decoupled the memcg IDs from the CSS ID space to fix the cgroup creation failures. It introduced IDR to maintain the memcg ID space. The IDR depends on external synchronization mechanisms for modifications. For the mem_cgroup_idr, the idr_alloc() and idr_replace() happen within css callback and thus are protected through cgroup_mutex from concurrent modifications. However idr_remove() for mem_cgroup_idr was not protected against concurrency and can be run concurrently for different memcgs when they hit their refcnt to zero. Fix that. We have been seeing list_lru based kernel crashes at a low frequency in our fleet for a long time. These crashes were in different part of list_lru code including list_lru_add(), list_lru_del() and reparenting code. Upon further inspection, it looked like for a given object (dentry and inode), the super_block's list_lru didn't have list_lru_one for the memcg of that object. The initial suspicions were either the object is not allocated through kmem_cache_alloc_lru() or somehow memcg_list_lru_alloc() failed to allocate list_lru_one() for a memcg but returned success. No evidence were found for these cases. Looking more deeply, we started seeing situations where valid memcg's id is not present in mem_cgroup_idr and in some cases multiple valid memcgs have same id and mem_cgroup_idr is pointing to one of them. So, the most reasonable explanation is that these situations can happen due to race between multiple idr_remove() calls or race between idr_alloc()/idr_replace() and idr_remove(). These races are causing multiple memcgs to acquire the same ID and then offlining of one of them would cleanup list_lrus on the system for all of them. Later access from other memcgs to the list_lru cause crashes due to missing list_lru_one.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

71

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 race is driven through local syscalls — cgroupfs mkdir/rmdir to force idr_alloc()/idr_replace(), plus memory allocation and swap-entry frees (munmap/exit/madvise) to force the unlocked idr_remove(). No network vector reaches mem_cgroup_idr. AC:L - The attacker controls both sides of the race and can repeat it arbitrarily: fan out swap-entry frees for many rmdir'd, swap-pinned memcgs across all CPUs while concurrently creating cgroups, so both racers are attacker-scheduled rather than depending on incidental system state. PR:L - Only an unprivileged local account is needed — cgroup creation/destruction is available via systemd-delegated user@$UID.service subtrees or unprivileged user namespaces (cgroup2 has FS_USERNS_MOUNT), and the swap-free side requires no privilege at all. UI:N - The attacker's own processes create the cgroups, generate the swap pressure, and free the swap entries; no victim action is involved. S:U - The corrupted IDR, radix-tree nodes, and list_lru structures all live in the kernel's own security authority; there is no VM, IOMMU, or hypervisor boundary crossed. C:H - Unsynchronized radix-tree mutation yields double-freed/reused radix_tree_node objects and stale IDR entries, so mem_cgroup_from_id() can hand out a freed or foreign struct mem_cgroup — a use-after-free read primitive, plus cross-cgroup leakage of workingset/swap accounting state. I:H - The race produces a double free and write-after-free on slab objects, and duplicate IDs cause a live memcg's list_lru_memcg to be freed while dentry/inode entries remain linked, giving list_add/list_del writes through freed memory — a heap-corruption write primitive suitable for privilege escalation. A:H - The commit documents recurring production kernel crashes in list_lru_add(), list_lru_del(), and the reparenting code; list_lru_from_memcg_idx() returning NULL is dereferenced unchecked while holding nlru->lock, causing an oops that can be triggered repeatedly.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 73f576c04b9410ed19660f74f97521bee6e1c546 to < 912736a0435ef40e6a4ae78197ccb5553cb80b05 (affected · git)73f576c04b9410ed19660f74f97521bee6e1c546 to < e6cc9ff2ac0b5df9f25eb790934c3104f6710278 (affected · git)73f576c04b9410ed19660f74f97521bee6e1c546 to < 56fd70f4aa8b82199dbe7e99366b1fd7a04d86fb (affected · git)73f576c04b9410ed19660f74f97521bee6e1c546 to < 37a060b64ae83b76600d187d76591ce488ab836b (affected · git)73f576c04b9410ed19660f74f97521bee6e1c546 to < 51c0b1bb7541f8893ec1accba59eb04361a70946 (affected · git)73f576c04b9410ed19660f74f97521bee6e1c546 to < 9972605a238339b85bd16b084eed5f18414d22db (affected · git)8627c7750a66a46d56d3564e1e881aa53764497c (affected · git)db70cd18d3da727a3a59694de428a9e41c620de7 (affected · git)4.4.18 to < 4.5 (affected · semver)4.6.6 to < 4.7 (affected · semver)Default: unaffected Linux · cna
Linux Linux 4.7 (affected)0 to < 4.7 (unaffected · semver)5.10.226 through 5.10.* (unaffected · semver)5.15.167 through 5.15.* (unaffected · semver)6.1.110 through 6.1.* (unaffected · semver)6.6.46 through 6.6.* (unaffected · semver)6.10.5 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

3

Linux · cna

memcg: protect concurrent access to mem_cgroup_idr

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
640288200c0f4143879bdf5fe3fe07c50373d68fc1b6970b48cbc03ff3280ff3
Ingested
23 Sep 2026, 08:27:16 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected