Skip to content
Heist/ feed
Unrated

btrfs: do not ASSERT() when the fs flips RO inside btrfs_repair_io_failure()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: btrfs: do not ASSERT() when the fs flips RO inside btrfs_repair_io_failure() [BUG] There is a bug report that when btrfs hits ENOSPC error in a critical path, btrfs flips RO (this part is expected, although the ENOSPC bug still needs to be addressed). The problem is after the RO flip, if there is a read repair pending, we can hit the ASSERT() inside btrfs_repair_io_failure() like the following: BTRFS info (device vdc): relocating block group 30408704 flags metadata|raid1 ------------[ cut here ]------------ BTRFS: Transaction aborted (error -28) WARNING: fs/btrfs/extent-tree.c:3235 at __btrfs_free_extent.isra.0+0x453/0xfd0, CPU#1: btrfs/383844 Modules linked in: kvm_intel kvm irqbypass [...] ---[ end trace 0000000000000000 ]--- BTRFS info (device vdc state EA): 2 enospc errors during balance BTRFS info (device vdc state EA): balance: ended with status: -30 BTRFS error (device vdc state EA): parent transid verify failed on logical 30556160 mirror 2 wanted 8 found 6 BTRFS error (device vdc state EA): bdev /dev/nvme0n1 errs: wr 0, rd 0, flush 0, corrupt 10, gen 0 [...] assertion failed: !(fs_info->sb->s_flags & SB_RDONLY) :: 0, in fs/btrfs/bio.c:938 ------------[ cut here ]------------ assertion failed: !(fs_info->sb->s_flags & SB_RDONLY) :: 0, in fs/btrfs/bio.c:938 kernel BUG at fs/btrfs/bio.c:938! Oops: invalid opcode: 0000 [#1] SMP NOPTI CPU: 0 UID: 0 PID: 868 Comm: kworker/u8:13 Tainted: G W N 6.19.0-rc6+ #4

Announced Group revision 1
Original source ↗

CVE-2026-43299

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-43299

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": "908960c6c0fb3b3ce3971dc0ca47b581d256b968",
        "lessThan": "a35b38cb4b0dd08d7cc0bd4e400208c7aeba8a72",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "908960c6c0fb3b3ce3971dc0ca47b581d256b968",
        "lessThan": "da3f596073de1c3cbc99941f01296968a85c8c76",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "908960c6c0fb3b3ce3971dc0ca47b581d256b968",
        "lessThan": "81e1ae665004b99a10686473d99f0a7cb6335f38",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "908960c6c0fb3b3ce3971dc0ca47b581d256b968",
        "lessThan": "f6df18c001e3dcebc08482d0adeacd0cfea08593",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "908960c6c0fb3b3ce3971dc0ca47b581d256b968",
        "lessThan": "8ceaad6cd6e7fa5f73b0b2796a2e85d75d37e9f3",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/btrfs/bio.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3.13"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "3.13",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.114",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.57",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19.6",
        "versionType": "semver",
        "lessThanOrEqual": "6.19.*"
      },
      {
        "status": "unaffected",
        "version": "7.0",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/btrfs/bio.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-43299

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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