# CVE-2021-47116: ext4: fix memory leak in ext4_mb_init_backend on error path.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-03-15T20:14:23.564Z
- Modified: 2026-06-17T04:16:31.930Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from df61d3cff422433527d3bc388f69484f0781d226 before 2050c6e5b161e5e25ce3c420fef58b24fa388a49; from f91436d55a279f045987e8b8c1385585dca54be9 before 04fb2baa0b147f51db065a1b13a11954abe592d0; from f91436d55a279f045987e8b8c1385585dca54be9 before a8867f4e3809050571c98de7a2d465aff5e4daf5; 9e7af67e9521fb5cbb5b01aca22921c313c2e48e; from 5.10.27 before 5.10.43; from 5.11.11 before 5.12; 5.12 (not affected: before 5.12; from 5.10.43 up to 5.10.*; from 5.12.10 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: before 5.10.43; from 5.11 before 5.12.10; 5.13

## References

- <https://git.kernel.org/stable/c/2050c6e5b161e5e25ce3c420fef58b24fa388a49> (patch)
- <https://git.kernel.org/stable/c/04fb2baa0b147f51db065a1b13a11954abe592d0> (patch)
- <https://git.kernel.org/stable/c/a8867f4e3809050571c98de7a2d465aff5e4daf5> (patch)

## Sources

- CVE List: [CVE-2021-47116](https://www.cve.org/CVERecord?id=CVE-2021-47116), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2021-47116](https://nvd.nist.gov/vuln/detail/CVE-2021-47116), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47116 · Whole record: https://cve.day/CVE-2021-47116.json · Rebuilt by cve.day 2026-11-25T22:58:08.668Z
