ext4: fix buffer_head leak in ext4_init_orphan_info
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.221, 6.1.188, 6.12.110, 6.18.52, 6.6.157, 7.2.6
- CVEs
- CVE-2026-92494
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 04:59 UTC · Revision 1
Source evidence
ext4: fix buffer_head leak in ext4_init_orphan_info
core-osv · Original sourcePublished 17 Sept 2026, 16:10 UTC
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.
osv:CVE-2026-92494
Kernel
Fixed versions: 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6
Complete source record
{
"id": "9f26d823803ea54fbfc4bba20af419f5b829bc4fbb35899327e012823693c8bb",
"url": "https://osv.dev/vulnerability/CVE-2026-92494",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ext4: fix buffer_head leak in ext4_init_orphan_info",
"summary": "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.",
"evidence": "osv:CVE-2026-92494",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.221",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.188",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.157",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.110",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.52",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-92494",
"aliases": [
"CVE-2026-92494"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"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"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-92494.json"
}
}
],
"modified": "2026-10-28T02:30:25.976194893Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/05704335803b69c1bfa8637b7ada942bf2ee8a41",
"https://git.kernel.org/stable/c/1399f102d8a1855c1a38506057306ec79d0787d9",
"https://git.kernel.org/stable/c/35fc83c65faf7949f5701bb34b20f822560a7718",
"https://git.kernel.org/stable/c/6ec53ccab0d691b3c73e03d930343ca45987e88d",
"https://git.kernel.org/stable/c/74637f7fef030e5fb2e835b7dfeb05efdc48e0fe",
"https://git.kernel.org/stable/c/a9a6ec1298f9bc134b2c5db27d25bb10603b7113",
"https://git.kernel.org/stable/c/e1e342d9a561c016b8531ec1f4dcefaad9d64954",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92494.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-92494",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92494.json"
}
},
"related_cves": [
{
"value": "CVE-2026-92494",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 492621,
"published_at": "2026-09-17T16:10:10.073+00:00"
}