CVE-2026-98082·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.2.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 5% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.2.7
Fixed in: 7.2.7
How to fix this CVE
Update your Linux kernel to version 7.2.7 or later to patch a memory leak in the Btrfs filesystem's RAID extent handling. This vulnerability can cause kernel memory exhaustion over time when RAID operations encounter errors. Apply the update immediately to prevent potential denial of service conditions in production environments running Btrfs.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r
- Verify if Btrfs is in use: df -T | grep btrfs
- Check for memory pressure and leak indicators: grep -i 'memory' /var/log/kern.log | tail -50
- Monitor dmesg for Btrfs RAID errors: dmesg | grep -i 'btrfs.*raid\|bioc'
- Verify patched kernel after update: uname -r should show 7.2.7 or later
FAQ
What is CVE-2026-98082?
This CVE addresses a memory leak in the Linux kernel's Btrfs filesystem when handling RAID extent operations that encounter errors, causing allocated bioc structures to not be properly freed.
Is CVE-2026-98082 being actively exploited?
No, this vulnerability is not listed on CISA's Known Exploited Vulnerabilities catalog and no public exploits are available, though it poses a denial of service risk through gradual memory exhaustion.
What versions of Kernel are affected by CVE-2026-98082?
Linux kernel versions 6.19 through 7.2.6 are affected; version 7.2.7 and later include the fix.
How do I check if my server is vulnerable to CVE-2026-98082?
Run 'uname -r' to check your kernel version. If it shows a version between 6.19 and 7.2.6 and your system uses Btrfs (verify with 'df -T'), you are vulnerable.
Does Defensia detect CVE-2026-98082?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-98082 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1b4d4e890c2c85d0f6365b5a08c48b4bbf85deb0
- https://git.kernel.org/stable/c/83f0c973cffb184d019390ffdb5d31de5c85bc61
- https://git.kernel.org/stable/c/afbe73778338e6d1ac8c4486fbdf33f0cc1f2624
- https://git.kernel.org/stable/c/bb4da45766d16503821f167054db76b735d89e94
- https://git.kernel.org/stable/c/d043c43d2b4ebcd75ee7f907948ef2847306d6b2
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98082. Free for 1 server.
Get started free