CVE-2021-47470

published 22 May 2024 · updated 11 May 2026

mm, slub: fix potential use-after-free in slab_debugfs_fops

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 159d8cfbd0428d487c53be4722f33cdab0d25d83 and Kernel 67823a544414def2a36c212abadb55b23bcda00c.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.14, >=64dd68497be76ab4e237cca06f5324e220d0f050 <159d8cfbd0428d487c53be4722f33cdab0d25d83, >=64dd68497be76ab4e237cca06f5324e220d0f050 <67823a544414def2a36c212abadb55b23bcda00c159d8cfbd0428d487c53be4722f33cdab0d25d83, 67823a544414def2a36c212abadb55b23bcda00c

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47470 severity on Zeptric[![CVE-2021-47470](https://zeptric.io/badge/cve/CVE-2021-47470.svg)](https://zeptric.io/cve/CVE-2021-47470)