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.
Published: 2026-10-23
Score: 4.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Race condition during Btrfs superblock read may cause data corruption
Action: Apply patch
AI Analysis

Impact

A race in sb_write_pointer allows concurrent block size changes while the superblock is being read from page cache. The unsynchronized read can return corrupted or incomplete data, which may lead to filesystem corruption or instability, potentially causing data loss or crash. This weakness is a thread‑safety failure and does not provide a traditional attack vector for code execution or privilege escalation.

Affected Systems

All Linux kernel builds using Btrfs prior to the commit that serializes sb_write_pointer with the invalidate lock are affected. This includes any kernel version that has not applied the patch fixing the race with BLKBSZSET. The commit that introduced the protection (identified by the hash 123b9a5…) is available in the Linux kernel source tree and should be applied to any affected release.

Risk and Exploitability

The vulnerability has no publicly known exploit and is not listed in CISA’s KEV catalog; EPSS score is < 1%. Because the flaw requires concurrent modification of block size parameters and a kernel read of the superblock, an attacker would need low‑level access to the system, typically root or physical access. The CVSS score of 4.1 indicates medium severity, and the potential impact is medium to high if the race occurs, but the likelihood is limited to specific conditions. Updating to a kernel version containing the fix is the recommended mitigation.

Generated by OpenCVE AI on October 27, 2026 at 19:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that contains the commit adding the invalidate lock around sb_write_pointer() reading
  • Review system configurations to prevent BLKBSZSET changes while Btrfs is active
  • Consider disabling BLKBSZSET on devices that host Btrfs if updating immediately is not possible

Generated by OpenCVE AI on October 27, 2026 at 19:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9029-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History

Tue, 27 Oct 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Tue, 27 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-413
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Mon, 26 Oct 2026 07:30:00 +0000


Fri, 23 Oct 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Fri, 23 Oct 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Fri, 23 Oct 2026 12:00:00 +0000

Type Values Removed Values Added
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.
Title btrfs: protect sb_write_pointer() with invalidate lock
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-26T06:56:36.536Z

Reserved: 2026-09-25T10:25:14.379Z

Link: CVE-2026-98907

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T12:18:24.793

Modified: 2026-10-26T07:17:16.060

Link: CVE-2026-98907

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-23T00:00:00Z

Links: CVE-2026-98907 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T19:45:07Z

Weaknesses
  • CWE-413

    Improper Resource Locking