7.8high
mm, slub: fix potential use-after-free in slab_debugfs_fops
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 64dd68497be76ab4e237cca06f5324e220d0f050 before 159d8cfbd0428d487c53be4722f33cdab0d25d83, from 64dd68497be76ab4e237cca06f5324e220d0f050 before 67823a544414def2a36c212abadb55b23bcda00c, 5.14 Not affected: before 5.14, from 5.14.15 up to 5.14.*, from 5.15 up to * | CVE List |
| linux linux_kernel | from 5.14 before 5.14.15, 5.15 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: mm, slub: corrige el posible use-after-free en slab_debugfs_fops Cuando sysfs_slab_add falla, no debemos llamar a debugfs_slab_add() para s porque s se liberará pronto. Y slab_debugfs_fops usará s más tarde, lo que conducirá a un use-after-free.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47470 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47470 changed 2026-06-17 | Public domain |