CVE-2026-98081
btrfs: zoned: finish active block group cleanup if call_zone_finish() fails
Check your servers for CVE-2026-98081
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-98081 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: zoned: finish active block group cleanup if call_zone_finish() fails
do_zone_finish() clears BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE before finishing the zones. If call_zone_finish() then fails it returned early, leaving the now inactive block group on fs_info->zone_active_bgs, leaking its reference, the BTRFS_FS_NEED_ZONE_FINISH waiters are never woken, and as its alloc_offset equals the zone capacity btrfs_zone_finish_one_bg() keeps selecting it, spinning btrfs_zoned_activate_one_bg().
Fall through to the cleanup on failure too and return the error, but keep the block group read-only as its zones are left inconsistent.
Exploitation
EPSS 0.12%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.16% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d70cbdda75da3f258118a558c087157e073229fb, before 433d52b196a689b18dcfadc7cf6c784f0e5cc7c9 affected from d70cbdda75da3f258118a558c087157e073229fb, before 36b9cdab44848f25879ca625275c92b007f84653 affected from d70cbdda75da3f258118a558c087157e073229fb, before 40370f02a1ca3760f8925ffcbe76eb4d91ea758d affected from d70cbdda75da3f258118a558c087157e073229fb, before e1b168a53174b385e3548bfbd079513b22ac240c affected from d70cbdda75da3f258118a558c087157e073229fb, before a18a6b93a2843b9d103d3456bbd4b3f90282a379
Other versions: unaffected
|
| Linux |
affected 5.19 unaffected before 5.19 unaffected from 6.6.160 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-98081 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98081
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-98081
trivy image --scanners vuln IMAGE | grep CVE-2026-98081
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/433d52b196a689b18dcfadc7cf6c784f0e5cc7c9 git.kernel.org
- https://git.kernel.org/stable/c/36b9cdab44848f25879ca625275c92b007f84653 git.kernel.org
- https://git.kernel.org/stable/c/40370f02a1ca3760f8925ffcbe76eb4d91ea758d git.kernel.org
- https://git.kernel.org/stable/c/e1b168a53174b385e3548bfbd079513b22ac240c git.kernel.org
- https://git.kernel.org/stable/c/a18a6b93a2843b9d103d3456bbd4b3f90282a379 git.kernel.org
Source: the record CVE-2026-98081 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