# CVE-2026-92494: ext4: fix buffer_head leak in ext4_init_orphan_info

- Severity: not scored yet
- 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.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-17T16:10:10.073Z
- Modified: 2026-10-19T09:19:39.657Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

ext4: fix buffer_head leak in ext4_init_orphan_info

ext4_init_orphan_info() reads orphan file blocks with ext4_bread()
and stores the returned buffer_head in oi->of_binfo[i].ob_bh.

If ext4_bread() succeeds but the orphan block magic or checksum
validation fails, the function jumps to out_free. However, the old
out_free loop starts releasing buffers from i - 1, so the current
buffer_head at index i is skipped.

This leaks the buffer_head reference obtained by ext4_bread() on the
bad magic and bad checksum error paths.

Fix this by tracking the number of successfully read buffer_heads and
releasing exactly those buffer_heads on the error path.

(As written by CVE List.)

## Affected

- Linux Linux: from 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37 before a9a6ec1298f9bc134b2c5db27d25bb10603b7113; from 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37 before 35fc83c65faf7949f5701bb34b20f822560a7718; from 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37 before 74637f7fef030e5fb2e835b7dfeb05efdc48e0fe; from 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37 before 6ec53ccab0d691b3c73e03d930343ca45987e88d; from 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37 before 1399f102d8a1855c1a38506057306ec79d0787d9; from 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37 before e1e342d9a561c016b8531ec1f4dcefaad9d64954; from 02f310fcf47fa9311d6ba2946a8d19e7d7d11f37 before 05704335803b69c1bfa8637b7ada942bf2ee8a41; 5.15 (not affected: before 5.15; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/a9a6ec1298f9bc134b2c5db27d25bb10603b7113>
- <https://git.kernel.org/stable/c/35fc83c65faf7949f5701bb34b20f822560a7718>
- <https://git.kernel.org/stable/c/74637f7fef030e5fb2e835b7dfeb05efdc48e0fe>
- <https://git.kernel.org/stable/c/6ec53ccab0d691b3c73e03d930343ca45987e88d>
- <https://git.kernel.org/stable/c/1399f102d8a1855c1a38506057306ec79d0787d9>
- <https://git.kernel.org/stable/c/e1e342d9a561c016b8531ec1f4dcefaad9d64954>
- <https://git.kernel.org/stable/c/05704335803b69c1bfa8637b7ada942bf2ee8a41>

## Sources

- CVE List: [CVE-2026-92494](https://www.cve.org/CVERecord?id=CVE-2026-92494), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-92494](https://nvd.nist.gov/vuln/detail/CVE-2026-92494), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-92494 · Whole record: https://cve.day/CVE-2026-92494.json · Rebuilt by cve.day 2026-11-25T22:59:39.423Z
