CVE-2021-47011

MEDIUMNVD 5.55.5—
EchelonGraph scoreMEDIUM confidence

Score 5.5 from GitHub Security Advisory published 2024-02-28. NVD baseline CVSS 5.5; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
5.5EG
EchelonGraph verdictMonitorLow exploitation likelihood right now — keep watching.
  • Lower severity and no public exploit yet
CISA-KEV: Not listedEPSS PROB: 0.3%CVSS: 5.5Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

In the Linux kernel, the following vulnerability has been resolved:

mm: memcontrol: slab: fix obtain a reference to a freeing memcg

Patch series "Use obj_cgroup APIs to charge kmem pages", v5.

Since Roman's series "The new cgroup slab memory controller" applied. All slab objects are charged with the new APIs of obj_cgroup. The new APIs introduce a struct obj_cgroup to charge slab objects. It prevents long-living objects from pinning the original memory cgroup in the memory. But there are still some corner objects (e.g. allocations larger than order-1 page on SLUB) which are not charged with the new APIs. Those objects (include the pages which are allocated from buddy allocator directly) are charged as kmem pages which still hold a reference to the memory cgroup.

E.g. We know that the kernel stack is charged as kmem pages because the size of the kernel stack can be greater than 2 pages (e.g. 16KB on x86_64 or arm64). If we create a thread (suppose the thread stack is charged to memory cgroup A) and then move it from memory cgroup A to memory cgroup B. Because the kernel stack of the thread hold a reference to the memory cgroup A. The thread can pin the memory cgroup A in the memory even if we remove the cgroup A. If we want to see this scenario by using the following script. We can see that the system has added 500 dying cgroups (This is not a real world issue, just a script to show that the large kmallocs are charged as kmem pages which can pin the memory cgroup in the memory).

#!/bin/bash

cat /proc/cgroups | grep memory

cd /sys/fs/cgroup/memory echo 1 > memory.move_charge_at_immigrate

for i in range{1..500} do mkdir kmem_test echo $$ > kmem_test/cgroup.procs sleep 3600 & echo $$ > cgroup.procs echo cat kmem_test/cgroup.procs > cgroup.procs rmdir kmem_test done

cat /proc/cgroups | grep memory

This patchset aims to make those kmem pages to drop the reference to memory cgroup by using the APIs of obj_cgroup. Finally, we can see that the number of the dying cgroups will not increase if we run the above test script.

This patch (of 7):

The rcu_read_lock/unlock only can guarantee that the memcg will not be freed, but it cannot guarantee the success of css_get (which is in the refill_stock when cached memcg changed) to memcg.

rcu_read_lock() memcg = obj_cgroup_memcg(old) __memcg_kmem_uncharge(memcg) refill_stock(memcg) if (stock->cached != memcg) // css_get can change the ref counter from 0 back to 1. css_get(&memcg->css) rcu_read_unlock()

This fix is very like the commit:

eefbfa7fd678 ("mm: memcg/slab: fix use after free in obj_cgroup_charge")

Fix this by holding a reference to the memcg which is passed to the __memcg_kmem_uncharge() before calling __memcg_kmem_uncharge().

CVSS v3
5.5
EG Score
5.5MEDIUMmedium confidence
EG Risk
25
EG Risk 25/100CISA SSVC

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity55% × 45%
Exploitation0% × 40%
Automatability0% × 15%
CISA SSVC: Track at every mission impact level.
Action: A fix is available. Apply it within your standard update timelines.
EPSS PROB
0.3%
EPSS %ILE
15th
KEV
Not listed

CISA SSVCTrack at every mission impact level.

A fix is available. Apply it within your standard update timelines.

Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table

Published

February 28, 2024

Last Modified

August 5, 2026

Vendor Advisories for CVE-2021-47011(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(1)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
redhatkernel-0:4.18.0-348.el82021-11-09redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(4 across 4 ecosystems)
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
linux—
  • every version up to 5.10.38-1: fixed in 5.10.38-1
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
linux—
  • every version up to 5.10.38-1: fixed in 5.10.38-1
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
linux—
  • every version up to 5.10.38-1: fixed in 5.10.38-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
linux—
  • every version up to 5.10.38-1: fixed in 5.10.38-1
—

Data Freshness Timeline

(refreshed 8× in last 7d / 31× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 188 total refreshes for this CVE.

  1. 2026-10-09 20:04 UTCEPSS rescore
  2. 2026-10-08 16:40 UTCEPSS rescore
  3. 2026-10-07 23:45 UTCEPSS rescore
  4. 2026-10-06 15:14 UTCEPSS rescore
  5. 2026-10-05 17:40 UTCEPSS rescore
  6. 2026-10-04 23:19 UTCEPSS rescore
  7. 2026-10-03 14:22 UTCEPSS rescore
  8. 2026-10-03 14:22 UTCEPSS rescore
  9. 2026-10-02 16:23 UTCEPSS rescore
  10. 2026-09-30 15:45 UTCEG score recompute
  11. 2026-09-30 15:00 UTCEPSS rescore
  12. 2026-09-29 15:15 UTCEPSS rescore
  13. 2026-09-28 13:47 UTCEPSS rescore
  14. 2026-09-26 20:33 UTCOSV refresh
  15. 2026-09-26 15:54 UTCEPSS rescore
  16. 2026-09-26 00:21 UTCEPSS rescore
  17. 2026-09-24 14:00 UTCEPSS rescore
  18. 2026-09-24 14:00 UTCEPSS rescore
  19. 2026-09-23 13:45 UTCEPSS rescore
  20. 2026-09-22 14:44 UTCEPSS rescore
  21. 2026-09-21 20:28 UTCEPSS rescore
  22. 2026-09-20 20:13 UTCEPSS rescore
  23. 2026-09-19 15:38 UTCEPSS rescore
  24. 2026-09-18 19:24 UTCEPSS rescore
  25. 2026-09-17 19:23 UTCEPSS rescore
Show 75 more
  1. 2026-09-16 14:05 UTCEPSS rescore
  2. 2026-09-16 14:05 UTCEPSS rescore
  3. 2026-09-15 03:06 UTCEPSS rescore
  4. 2026-09-12 14:57 UTCEPSS rescore
  5. 2026-09-11 14:49 UTCEPSS rescore
  6. 2026-09-11 09:33 UTCEPSS rescore
  7. 2026-09-08 21:57 UTCEPSS rescore
  8. 2026-09-07 15:58 UTCEPSS rescore
  9. 2026-09-07 05:48 UTCOSV refresh
  10. 2026-09-06 13:45 UTCEPSS rescore
  11. 2026-09-05 15:25 UTCEPSS rescore
  12. 2026-09-04 13:57 UTCEPSS rescore
  13. 2026-09-04 05:03 UTCEPSS rescore
  14. 2026-09-02 14:09 UTCEPSS rescore
  15. 2026-09-01 13:51 UTCEPSS rescore
  16. 2026-08-30 19:14 UTCEPSS rescore
  17. 2026-08-30 01:19 UTCEPSS rescore
  18. 2026-08-28 21:38 UTCEPSS rescore
  19. 2026-08-27 14:22 UTCEPSS rescore
  20. 2026-08-26 14:43 UTCEPSS rescore
  21. 2026-08-25 13:46 UTCEPSS rescore
  22. 2026-08-24 14:13 UTCEPSS rescore
  23. 2026-08-21 23:46 UTCEPSS rescore
  24. 2026-08-20 22:52 UTCEPSS rescore
  25. 2026-08-20 15:31 UTCOSV refresh
  26. 2026-08-19 17:01 UTCEPSS rescore
  27. 2026-08-18 13:45 UTCEPSS rescore
  28. 2026-08-17 13:44 UTCEPSS rescore
  29. 2026-08-16 14:53 UTCEPSS rescore
  30. 2026-08-16 02:11 UTCEPSS rescore
  31. 2026-08-15 01:27 UTCEPSS rescore
  32. 2026-08-13 21:57 UTCEPSS rescore
  33. 2026-08-12 13:48 UTCEPSS rescore
  34. 2026-08-11 13:38 UTCEPSS rescore
  35. 2026-08-09 13:44 UTCEPSS rescore
  36. 2026-08-08 16:34 UTCEPSS rescore
  37. 2026-08-07 16:24 UTCEPSS rescore
  38. 2026-08-06 13:44 UTCEPSS rescore
  39. 2026-08-05 19:15 UTCEPSS rescore
  40. 2026-08-05 09:44 UTCEG score recompute
  41. 2026-08-05 09:44 UTCVendor advisory
  42. 2026-08-05 09:44 UTCGHSA enrichment
  43. 2026-08-04 15:06 UTCEPSS rescore
  44. 2026-08-04 12:21 UTCEG score recompute
  45. 2026-08-04 12:21 UTCVendor advisory
  46. 2026-08-04 12:21 UTCGHSA enrichment
  47. 2026-08-04 10:34 UTCEPSS rescore
  48. 2026-08-04 09:54 UTCEG score recompute
  49. 2026-08-04 09:54 UTCVendor advisory
  50. 2026-08-04 09:54 UTCGHSA enrichment
  51. 2026-08-03 10:33 UTCEPSS rescore
  52. 2026-08-02 02:24 UTCEPSS rescore
  53. 2026-08-01 11:06 UTCOSV refresh
  54. 2026-08-01 04:13 UTCEPSS rescore
  55. 2026-07-30 16:25 UTCEPSS rescore
  56. 2026-07-30 01:28 UTCEPSS rescore
  57. 2026-07-28 15:33 UTCEPSS rescore
  58. 2026-07-26 14:52 UTCEPSS rescore
  59. 2026-07-25 14:15 UTCEPSS rescore
  60. 2026-07-24 14:15 UTCEPSS rescore
  61. 2026-07-24 14:15 UTCEPSS rescore
  62. 2026-07-23 14:16 UTCEPSS rescore
  63. 2026-07-23 02:06 UTCEG score recompute
  64. 2026-07-22 22:52 UTCEG score recompute
  65. 2026-07-22 14:06 UTCEPSS rescore
  66. 2026-07-21 15:22 UTCEPSS rescore
  67. 2026-07-21 15:22 UTCEPSS rescore
  68. 2026-07-20 17:05 UTCEPSS rescore
  69. 2026-07-19 14:29 UTCEPSS rescore
  70. 2026-07-19 02:27 UTCEPSS rescore
  71. 2026-07-19 02:27 UTCEPSS rescore
  72. 2026-07-18 10:02 UTCEPSS rescore
  73. 2026-07-16 17:00 UTCEPSS rescore
  74. 2026-07-16 17:00 UTCEPSS rescore
  75. 2026-07-15 16:55 UTCEPSS rescore

Frequently asked(5)

What is CVE-2021-47011?
CVE-2021-47011 is a medium vulnerability published on February 28, 2024. In the Linux kernel, the following vulnerability has been resolved: mm: memcontrol: slab: fix obtain a reference to a freeing memcg Patch series "Use obj_cgroup APIs to charge kmem pages", v5. Since Roman's series "The new cgroup slab memory controller" applied. All slab objects are charged with…
When was CVE-2021-47011 disclosed?
CVE-2021-47011 was first published on February 28, 2024, with the most recent update on August 5, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2021-47011 actively exploited?
CVE-2021-47011 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0.3% probability of exploitation in the next 30 days (15th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2021-47011?
CVE-2021-47011 has a CVSS v3 base score of 5.5 (NVD).
How do I remediate CVE-2021-47011?
A fix for CVE-2021-47011 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2021-47011 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-47011

Explore →

Is Your Infrastructure Affected by CVE-2021-47011?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.