What’s Vulnerable › Vulnerabilities
CVE-2021-47470: mm, slub: fix potential use-after-free in slab_debugfs_fops
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-22 · updated 2026-06-17
- Weakness: CWE-416
Description
In the Linux kernel, the following vulnerability has been resolved: mm, slub: fix potential use-after-free in slab_debugfs_fops When sysfs_slab_add failed, we shouldn't call debugfs_slab_add() for s because s will be freed soon. And slab_debugfs_fops will use s later leading to a use-after-free.
Affected products
- Linux kernel: from 5.14 before 5.14.15; 5.15-rc1, 5.15-rc2, 5.15-rc3, 5.15-rc4, 5.15-rc5, 5.15-rc6 — fixed in 5.14.15
How to fix
Upgrade to a fixed version: Linux kernel 5.14.15. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/159d8cfbd0428d487c53be4722f33cdab0d25d83
- https://git.kernel.org/stable/c/67823a544414def2a36c212abadb55b23bcda00c
- https://git.kernel.org/stable/c/159d8cfbd0428d487c53be4722f33cdab0d25d83
- https://git.kernel.org/stable/c/67823a544414def2a36c212abadb55b23bcda00c
Get alerted when CVE-2021-47470 or the next vulnerability affects your stack