CVE-2021-47470
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelfrom 5.14 before 5.14.15, 5.15NVD

Classification

CWE-416

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

SourceRecordLicence
CVE ListCVE-2021-47470 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47470 changed 2026-06-17Public domain