← CVE Intelligence

CVE-2026-98907

btrfs: protect sb_write_pointer() with invalidate lock PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c9b38f2eab5a9bd74087390318d93ccdd8d2deff; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a0dc28359a8a26f970ccd250b126a2e0bd4118a5; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1a6c92aa7242a04e4349c0ea213dbf703a1c9891; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a58cab4535f085adc0f93d7efd7952ef437371da; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 80cd97c5e90096d040a623851795eac92fbd0ff1; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 123b9a545f4d0348e81f558a032bf2a93ee5722f; affected 0 before 5.15.222; affected 0 before 6.1.189; affected 0 before 6.6.158; affected 0 before 6.12.111; affected 0 before 6.18.53
Linux / Linuxunaffected 5.15.222 through 5.15.*; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2 through *

CWE

No CWE identifiers supplied.

References