{"id":"CVE-2026-92494","summary":"ext4: fix buffer_head leak in ext4_init_orphan_info","details":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix buffer_head leak in ext4_init_orphan_info\n\next4_init_orphan_info() reads orphan file blocks with ext4_bread()\nand stores the returned buffer_head in oi-\u003eof_binfo[i].ob_bh.\n\nIf ext4_bread() succeeds but the orphan block magic or checksum\nvalidation fails, the function jumps to out_free. However, the old\nout_free loop starts releasing buffers from i - 1, so the current\nbuffer_head at index i is skipped.\n\nThis leaks the buffer_head reference obtained by ext4_bread() on the\nbad magic and bad checksum error paths.\n\nFix this by tracking the number of successfully read buffer_heads and\nreleasing exactly those buffer_heads on the error path.","modified":"2026-09-19T03:47:26.488238403Z","published":"2026-09-17T16:10:10.073Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92494.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/05704335803b69c1bfa8637b7ada942bf2ee8a41"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1399f102d8a1855c1a38506057306ec79d0787d9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/35fc83c65faf7949f5701bb34b20f822560a7718"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ec53ccab0d691b3c73e03d930343ca45987e88d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/74637f7fef030e5fb2e835b7dfeb05efdc48e0fe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9a6ec1298f9bc134b2c5db27d25bb10603b7113"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e1e342d9a561c016b8531ec1f4dcefaad9d64954"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92494.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92494"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"02f310fcf47fa9311d6ba2946a8d19e7d7d11f37"},{"fixed":"a9a6ec1298f9bc134b2c5db27d25bb10603b7113"},{"fixed":"35fc83c65faf7949f5701bb34b20f822560a7718"},{"fixed":"74637f7fef030e5fb2e835b7dfeb05efdc48e0fe"},{"fixed":"6ec53ccab0d691b3c73e03d930343ca45987e88d"},{"fixed":"1399f102d8a1855c1a38506057306ec79d0787d9"},{"fixed":"e1e342d9a561c016b8531ec1f4dcefaad9d64954"},{"fixed":"05704335803b69c1bfa8637b7ada942bf2ee8a41"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92494.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92494.json"}}],"schema_version":"1.9.0"}