CVEvulnerability
CVE-2021-47470
7.8 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-22
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- 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 configurations
• linux linux kernel (>= 5.14 < 5.14.15)
• linux linux kernel 5.15
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://git.kernel.org/stable/c/159d8cfbd0428d487c53be4722f33cdab0d25d83 Patch
- https://git.kernel.org/stable/c/67823a544414def2a36c212abadb55b23bcda00c Patch
- https://git.kernel.org/stable/c/159d8cfbd0428d487c53be4722f33cdab0d25d83 Patch
- https://git.kernel.org/stable/c/67823a544414def2a36c212abadb55b23bcda00c Patch