CVE-2026-98082
btrfs: fix the possible bioc_list memory leak during error
Reported by linux · Published September 25, 2026
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix the possible bioc_list memory leak during error There are two possible ways to leak bioc memory on btrfs_ordered_extent::bioc_list: - An error occurred for btrfs_insert_one_raid_extent() Then the function btrfs_insert_raid_extent() immediately return without freeing any bioc in the bioc_list. - An ordered extent hit an IO error In that case the ordered extent will have BTRFS_ORDERED_IOERR set, and skip the call on btrfs_insert_raid_extent() completely. Fix the problem by: - Introduce a new helper, btrfs_cleanup_ordered_bioc_list() Which will remove all bioc from the bioc_list, and release the bioc. - Call the above helper for btrfs_insert_raid_extent() So that the cleanup helper is always called no matter what. - Call the above helper for btrfs_finish_one_ordered() This is called just before the final release on the ordered extent. This was reported by Sashiko when reviewing another patch.
EPSS 0.12% · 2.0th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-tools | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| Linux | Linux | 6.7, 6.6.158 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ab69bf6f8970c09d3735c25094e9471d54365282, 02c372e1f016e5113217597ab37b399c4e407477, 02c372e1f016e5113217597ab37b399c4e407477 |
| Linux | Linux | 6.7, 0, 6.6.158 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| Linux | Linux | 6.6.158, 6.6.130, 7.2.7 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| linux | linux_kernel | 6.6.130, 6.7, 6.7 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.12.111-136.204 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
…and 8 more
Timeline
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (3 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98082
vulnetix vdb fixes CVE-2026-98082
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98082/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart