VDB

CVE-2026-98082

CVE-2026-98082 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.18-toolsAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.12-headersAmazon Linux1:6.12.111-136.204.amzn2023
LinuxLinux6.7, 6.6.158

Risk scores

EPSS Score
0.12%
2.0th percentile

Affected products

VendorProductVersions
LinuxLinuxab69bf6f8970c09d3735c25094e9471d54365282, 02c372e1f016e5113217597ab37b399c4e407477, 02c372e1f016e5113217597ab37b399c4e407477
LinuxLinux6.7, 0, 6.6.158
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-headers0
LinuxLinux6.6.158, 6.6.130, 7.2.7
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023perf6.120
amazon:2023kernel6.18-headers0
linuxlinux_kernel6.6.130, 6.7, 6.7
amazon:2023kernel6.180
amazon:2023bpftool6.120
amazon:2023kernel6.120
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-modules-extra0
amazon:2023python3-perf6.180
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-livepatch-6.12.111-136.2040
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.18-tools-devel0

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›