What’s Vulnerable › Vulnerabilities
CVE-2021-47116: ext4: fix memory leak in ext4_mb_init_backend on error path.
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-15 · updated 2026-06-17
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: fix memory leak in ext4_mb_init_backend on error path. Fix a memory leak discovered by syzbot when a file system is corrupted with an illegally large s_log_groups_per_flex.
Affected products
- Linux kernel: before 5.10.43; from 5.11 before 5.12.10; 5.13-rc1, 5.13-rc2, 5.13-rc3, 5.13-rc4 — fixed in 5.10.43, 5.12.10
How to fix
Upgrade to a fixed version: Linux kernel 5.10.43, 5.12.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/04fb2baa0b147f51db065a1b13a11954abe592d0
- https://git.kernel.org/stable/c/2050c6e5b161e5e25ce3c420fef58b24fa388a49
- https://git.kernel.org/stable/c/a8867f4e3809050571c98de7a2d465aff5e4daf5
- https://git.kernel.org/stable/c/04fb2baa0b147f51db065a1b13a11954abe592d0
- https://git.kernel.org/stable/c/2050c6e5b161e5e25ce3c420fef58b24fa388a49
- https://git.kernel.org/stable/c/a8867f4e3809050571c98de7a2d465aff5e4daf5
Get alerted when CVE-2021-47116 or the next vulnerability affects your stack