CVE-2026-98082: btrfs: fix the possible bioc_list memory leak during error
btrfs: fix the possible bioclist memory leak during error
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.158.1-1 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Patch btrfs: fix the possible bioc_list memory leak during error
Event History
Frequently Asked Questions
What conditions can lead to the memory leak?
The leak can occur if btrfs_insert_one_raid_extent() returns an error, causing btrfs_insert_raid_extent() to return without releasing entries in the ordered extent's bioc_list. It can also occur when an ordered extent has an I/O error and is marked BTRFS_ORDERED_IOERR, which skips btrfs_insert_raid_extent() entirely.
How can I verify that the fix is present?
Verify that the kernel includes btrfs_cleanup_ordered_bioc_list() and calls it from both btrfs_insert_raid_extent() and btrfs_finish_one_ordered(). The referenced stable commits contain the remediation.
Does the available information identify an attacker-controlled exploitation path?
No. The available information describes memory leaks triggered by internal Btrfs error and I/O-error handling paths, but does not identify an attacker-controlled input, required access level, or exploitation method.