Skip to content
Heist/ feed
Back to feed
Unrated

btrfs: protect sb_write_pointer() with invalidate lock

Type: advisorySources: Official CVE List

In the Linux kernel, the following vulnerability has been resolved: btrfs: protect sb_write_pointer() with invalidate lock sb_write_pointer() reads the super block from the block device page cache using read_cache_page_gfp(). This has the same race with BLKBSZSET as the one fixed by commit 3f29d661e568 ("btrfs: sync read disk super and set block size"). Take the mapping invalidate lock around read_cache_page_gfp() to serialize the read against block size changes.

Products
Linux
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-98907
Confirmed fixed CVEs
Not specified
Updated in this feed
29 Oct 2026, 18:04 UTC · Revision 2

Source evidence

btrfs: protect sb_write_pointer() with invalidate lock

core-cve · Original source

Published 23 Oct 2026, 11:54 UTC

In the Linux kernel, the following vulnerability has been resolved: btrfs: protect sb_write_pointer() with invalidate lock sb_write_pointer() reads the super block from the block device page cache using read_cache_page_gfp(). This has the same race with BLKBSZSET as the one fixed by commit 3f29d661e568 ("btrfs: sync read disk super and set block size"). Take the mapping invalidate lock around read_cache_page_gfp() to serialize the read against block size changes.

cve:CVE-2026-98907

Linux

Fixed versions: Not specified

Linux

Fixed versions: Not specified

Complete source record
{
  "id": "5686b317f86b1bb30745d23ee03d7806f8706b849f812df507a4554089ce9293",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-98907",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "btrfs: protect sb_write_pointer() with invalidate lock",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: btrfs: protect sb_write_pointer() with invalidate lock sb_write_pointer() reads the super block from the block device page cache using read_cache_page_gfp(). This has the same race with BLKBSZSET as the one fixed by commit 3f29d661e568 (\"btrfs: sync read disk super and set block size\"). Take the mapping invalidate lock around read_cache_page_gfp() to serialize the read against block size changes.",
    "evidence": "cve:CVE-2026-98907",
    "products": [
      {
        "name": {
          "value": "Linux",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      },
      {
        "name": {
          "value": "Linux",
          "evidence": "/containers/cna/affected/1/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-98907",
      "aliases": [
        "CVE-2026-98907"
      ],
      "metrics": [],
      "affected": [
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3c20917120ce61f2a123ca0810293872f4c6b5a4",
              "lessThan": "80cd97c5e90096d040a623851795eac92fbd0ff1",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "3c20917120ce61f2a123ca0810293872f4c6b5a4",
              "lessThan": "123b9a545f4d0348e81f558a032bf2a93ee5722f",
              "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": "6.15"
            },
            {
              "status": "unaffected",
              "version": "0",
              "lessThan": "6.15",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ],
          "programFiles": [
            "fs/btrfs/zoned.c"
          ],
          "defaultStatus": "affected"
        }
      ],
      "modified": "2026-10-26T06:56:36.536Z",
      "provider": "cve",
      "references": [
        "https://git.kernel.org/stable/c/80cd97c5e90096d040a623851795eac92fbd0ff1",
        "https://git.kernel.org/stable/c/123b9a545f4d0348e81f558a032bf2a93ee5722f"
      ],
      "provider_metadata": {
        "cna": {
          "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
          "shortName": "Linux",
          "dateUpdated": "2026-10-26T06:56:36.536Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-98907",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-cve",
  "document_id": 263365,
  "published_at": "2026-10-23T11:54:44.224+00:00"
}