CVE-2026-98082
btrfs: fix the possible bioc_list memory leak during error
Check your servers for CVE-2026-98082
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98082 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.86% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from ab69bf6f8970c09d3735c25094e9471d54365282, before d043c43d2b4ebcd75ee7f907948ef2847306d6b2 affected from 02c372e1f016e5113217597ab37b399c4e407477, before 83f0c973cffb184d019390ffdb5d31de5c85bc61 affected from 02c372e1f016e5113217597ab37b399c4e407477, before 1b4d4e890c2c85d0f6365b5a08c48b4bbf85deb0 affected from 02c372e1f016e5113217597ab37b399c4e407477, before bb4da45766d16503821f167054db76b735d89e94 affected from 02c372e1f016e5113217597ab37b399c4e407477, before afbe73778338e6d1ac8c4486fbdf33f0cc1f2624 affected from 6.6.130, before 6.6.158
Other versions: unaffected
|
| Linux |
affected 6.7 unaffected before 6.7 unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98082 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98082
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98082
trivy image --scanners vuln IMAGE | grep CVE-2026-98082
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d043c43d2b4ebcd75ee7f907948ef2847306d6b2 git.kernel.org
- https://git.kernel.org/stable/c/83f0c973cffb184d019390ffdb5d31de5c85bc61 git.kernel.org
- https://git.kernel.org/stable/c/1b4d4e890c2c85d0f6365b5a08c48b4bbf85deb0 git.kernel.org
- https://git.kernel.org/stable/c/bb4da45766d16503821f167054db76b735d89e94 git.kernel.org
- https://git.kernel.org/stable/c/afbe73778338e6d1ac8c4486fbdf33f0cc1f2624 git.kernel.org
Source: the record CVE-2026-98082 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse