# CVE-2026-98907: btrfs: protect sb_write_pointer() with invalidate lock

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-10-23T11:54:44.224Z
- Modified: 2026-10-26T07:17:16.060Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3c20917120ce61f2a123ca0810293872f4c6b5a4 before 80cd97c5e90096d040a623851795eac92fbd0ff1; from 3c20917120ce61f2a123ca0810293872f4c6b5a4 before 123b9a545f4d0348e81f558a032bf2a93ee5722f; 6.15 (not affected: before 6.15; from 6.18.53 up to 6.18.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/80cd97c5e90096d040a623851795eac92fbd0ff1>
- <https://git.kernel.org/stable/c/123b9a545f4d0348e81f558a032bf2a93ee5722f>

## Sources

- CVE List: [CVE-2026-98907](https://www.cve.org/CVERecord?id=CVE-2026-98907), CVE Terms of Use, modified 2026-10-26
- NVD: [CVE-2026-98907](https://nvd.nist.gov/vuln/detail/CVE-2026-98907), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-98907 · Whole record: https://cve.day/CVE-2026-98907.json · Rebuilt by cve.day 2026-11-25T22:59:46.892Z
