{"id":"CVE-2026-98081","summary":"btrfs: zoned: finish active block group cleanup if call_zone_finish() fails","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: zoned: finish active block group cleanup if call_zone_finish() fails\n\ndo_zone_finish() clears BLOCK_GROUP_FLAG_ZONE_IS_ACTIVE before finishing\nthe zones. If call_zone_finish() then fails it returned early, leaving the\nnow inactive block group on fs_info-\u003ezone_active_bgs, leaking its\nreference, the BTRFS_FS_NEED_ZONE_FINISH waiters are never woken, and as\nits alloc_offset equals the zone capacity btrfs_zone_finish_one_bg() keeps\nselecting it, spinning btrfs_zoned_activate_one_bg().\n\nFall through to the cleanup on failure too and return the error, but keep\nthe block group read-only as its zones are left inconsistent.","modified":"2026-09-26T03:48:42.560369653Z","published":"2026-09-25T10:24:18.091Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98081.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/36b9cdab44848f25879ca625275c92b007f84653"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40370f02a1ca3760f8925ffcbe76eb4d91ea758d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a18a6b93a2843b9d103d3456bbd4b3f90282a379"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e1b168a53174b385e3548bfbd079513b22ac240c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98081.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98081"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d70cbdda75da3f258118a558c087157e073229fb"},{"fixed":"36b9cdab44848f25879ca625275c92b007f84653"},{"fixed":"40370f02a1ca3760f8925ffcbe76eb4d91ea758d"},{"fixed":"e1b168a53174b385e3548bfbd079513b22ac240c"},{"fixed":"a18a6b93a2843b9d103d3456bbd4b3f90282a379"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98081.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.19.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98081.json"}}],"schema_version":"1.9.0"}