All reports
Medium

kernel: btrfs: protect sb_write_pointer() with invalidate lock

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-98907

Probability of exploitation in the next 30 days: 0.19%

FIRST EPSS · 2026-11-21

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.

A flaw was found in the Linux kernel's Btrfs file system. A race condition exists in the sb_write_pointer() function due to missing locking synchronization when reading superblock metadata from the cache while block size settings are concurrently modified. A local user could exploit this flaw to cause a Denial of Service (DoS) through a system crash.