{"id":"CVE-2026-98907","aliases":["CVE-2026-98907"],"related":[],"kind":"vulnerability","state":"published","title":"btrfs: protect sb_write_pointer() with invalidate lock","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: protect sb_write_pointer() with invalidate lock\n\nsb_write_pointer() reads the super block from the block device page cache\nusing read_cache_page_gfp(). This has the same race with BLKBSZSET as the\none fixed by commit 3f29d661e568 (\"btrfs: sync read disk super and set\nblock size\").\n\nTake the mapping invalidate lock around read_cache_page_gfp() to\nserialize the read against block size changes.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: protect sb_write_pointer() with invalidate lock\n\nsb_write_pointer() reads the super block from the block device page cache\nusing read_cache_page_gfp(). This has the same race with BLKBSZSET as the\none fixed by commit 3f29d661e568 (\"btrfs: sync read disk super and set\nblock size\").\n\nTake the mapping invalidate lock around read_cache_page_gfp() to\nserialize the read against block size changes.","source":"cvelist"}],"published":"2026-10-23T11:54:44.224Z","modified":"2026-10-26T07:17:16.060Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3c20917120ce61f2a123ca0810293872f4c6b5a4","fixed":"80cd97c5e90096d040a623851795eac92fbd0ff1","status":"affected"},{"type":"git","introduced":"3c20917120ce61f2a123ca0810293872f4c6b5a4","fixed":"123b9a545f4d0348e81f558a032bf2a93ee5722f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/80cd97c5e90096d040a623851795eac92fbd0ff1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/123b9a545f4d0348e81f558a032bf2a93ee5722f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98907","url":"https://www.cve.org/CVERecord?id=CVE-2026-98907","licence":"CVE Terms of Use","modified":"2026-10-26T06:56:36.536Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98907","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98907","licence":"Public domain","modified":"2026-10-26T07:17:16.060Z"}],"updatedAt":"2026-11-25T22:59:46.892Z","epss":{"score":0.00192,"percentile":0.09281,"date":"2026-12-01T12:00:22.000Z"}}