CVE-2021-47470
HIGH 7.8CVSS 3.1In 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.
- Published
- 22 May 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-416
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.14, < 5.14.15 | 5.14.15 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:* |
= 5.15 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:* |
= 5.15 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:* |
= 5.15 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:5.15:rc4:*:*:*:*:*:* |
= 5.15 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:5.15:rc5:*:*:*:*:*:* |
= 5.15 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:5.15:rc6:*:*:*:*:*:* |
= 5.15 |
References
- https://git.kernel.org/stable/c/159d8cfbd0428d487c53be4722f33cdab0d25d83 · Patch
- https://git.kernel.org/stable/c/67823a544414def2a36c212abadb55b23bcda00c · Patch
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 22 May 2024)