Skip to content
Heist/ feed
Unrated

btrfs: zoned: finish active block group cleanup if call_zone_finish() fails

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-98081

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98081

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "d70cbdda75da3f258118a558c087157e073229fb",
        "lessThan": "433d52b196a689b18dcfadc7cf6c784f0e5cc7c9",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d70cbdda75da3f258118a558c087157e073229fb",
        "lessThan": "36b9cdab44848f25879ca625275c92b007f84653",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d70cbdda75da3f258118a558c087157e073229fb",
        "lessThan": "40370f02a1ca3760f8925ffcbe76eb4d91ea758d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d70cbdda75da3f258118a558c087157e073229fb",
        "lessThan": "e1b168a53174b385e3548bfbd079513b22ac240c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "d70cbdda75da3f258118a558c087157e073229fb",
        "lessThan": "a18a6b93a2843b9d103d3456bbd4b3f90282a379",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/btrfs/zoned.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.19"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.19",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/btrfs/zoned.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98081

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#48847 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement