Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97902 Overview
CVE-2026-97902 is a Linux kernel filesystem bug in the superblock thaw path. The thaw_super_locked() function returns -EINVAL after a successful nested thaw when other freeze holders remain. Callers interpret this as failure and skip bookkeeping updates, leaving bd_fsfreeze_count elevated on the underlying block device. The result is a block device that cannot be remounted until it is destroyed or the system is rebooted. The regression was introduced by commit 7366f8b6fc6a ("fs: handle freezing from multiple devices") and affects kernels from v6.8 onward.
Critical Impact
A valid FIFREEZE plus device-mapper or LVM snapshot workflow permanently freezes the backing block device, producing a persistent dm-X: Can't mount, blockdev is frozen denial-of-service condition until reboot.
Affected Products
- Linux kernel versions from v6.8 containing commit 7366f8b6fc6a
- Systems using device-mapper (dm) with dmsetup suspend/resume on frozen filesystems
- LVM configurations that take snapshots of origin volumes while fsfreeze is held
Discovery Timeline
- 2026-09-25 - CVE-2026-97902 published to the National Vulnerability Database
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97902
Vulnerability Analysis
The Linux VFS layer allows a superblock to be frozen by multiple independent holders. Before commit 7366f8b6fc6a, the kernel tracked holders using a bitmask named freeze_holders. A thaw that released a shared hold while another holder remained returned 0 to indicate the caller's reference was successfully dropped.
The rework replaced the bitmask with per-holder counters to support nested freezes. In the new logic, thaw_super_locked() correctly calls freeze_dec() to release the caller's reference. However, when additional freezers remain, the function then returns -EINVAL instead of 0. The reference count has already been decremented, so the return value misrepresents what actually happened.
This desynchronization breaks block-device-initiated freezing orchestrated through fs_bdev_freeze() and fs_bdev_thaw(). Device-mapper's unlock_fs() ignores the return value of bdev_thaw(), so no code path rebalances the state when the holder op returns an error. The documented contract for fs_bdev_thaw() already states that a zero return does not imply the filesystem is unfrozen, confirming the fix restores intended semantics rather than changing them.
Root Cause
The root cause is an incorrect error return in thaw_super_locked() after a successful nested decrement. The function treats the presence of remaining freezers as an error for the current caller, even though that caller's own reference was released. This is a logic error in the freeze/thaw accounting introduced by the per-holder counter rework.
Attack Vector
The condition requires local privileges to invoke FIFREEZE on a mounted filesystem and to manipulate device-mapper or LVM. Reproduction is deterministic. An administrator or a privileged process freezes a filesystem with fsfreeze --freeze, then triggers a nested freeze via dmsetup suspend on the backing device. After dmsetup resume and fsfreeze --unfreeze, bd_fsfreeze_count remains at 1. After umount, the block device cannot be remounted and reports Can't mount, blockdev is frozen. The vulnerability is a denial-of-service bug rather than a privilege boundary violation, but automated backup and snapshot pipelines can trigger it without malicious intent.
See the upstream fix in Linux Kernel Commit 11133981 and the stable backports in Commit 76e47849, Commit fe967191, and Commit ff2a694f.
Detection Methods for CVE-2026-97902
Indicators of Compromise
- Kernel log messages of the form dm-X: Can't mount, blockdev is frozen after a successful fsfreeze --unfreeze and umount cycle.
- mount operations returning EBUSY on device-mapper or LVM volumes that were recently involved in a snapshot or suspend/resume workflow.
- Non-zero bd_fsfreeze_count reported by debugging tools on a block device whose filesystem is already thawed.
Detection Strategies
- Audit dmesg and journald logs for blockdev is frozen strings correlated with dmsetup or LVM snapshot activity.
- Track return codes from bdev_thaw() paths exercised by backup agents, container runtimes, and snapshot schedulers that call FIFREEZE.
- Monitor the running kernel version against the fixed commits and flag hosts still on vulnerable builds between v6.8 and the patched release.
Monitoring Recommendations
- Alert on repeated mount failures returning EBUSY on dm or LVM devices in production storage telemetry.
- Correlate backup job failures with filesystem freeze/thaw events to surface silent accumulation of leaked freeze references.
- Collect kernel version inventory across the fleet and compare against the stable branches containing the fix.
How to Mitigate CVE-2026-97902
Immediate Actions Required
- Apply the upstream fix or the appropriate stable backport referenced in the kernel.org commits.
- Reboot any host currently exhibiting the Can't mount, blockdev is frozen condition, because userspace cannot drop the leaked bd_fsfreeze_count.
- Pause or serialize workflows that combine FIFREEZE with dmsetup suspend/resume or LVM snapshots on the same volume until patches are deployed.
Patch Information
The fix restores the pre-rework semantics by returning 0 from thaw_super_locked() when a nested thaw drops its hold while other freezers remain. Thaws without a held freeze continue to return -EINVAL, because may_unfreeze() rejects that case before touching the reference count. The primary fix is in Linux Kernel Commit 11133981, with stable-tree backports available in Commit 76e47849, Commit fe967191, and Commit ff2a694f.
Workarounds
- Avoid nesting dmsetup suspend or LVM snapshot operations on top of filesystems that are already frozen with fsfreeze --freeze.
- Where backup tooling requires both operations, drive the freeze exclusively through the block-device path or exclusively through FIFREEZE, not both concurrently.
- Reboot affected hosts to recover a block device that is already stuck in the frozen state, because no userspace interface exposes bd_fsfreeze_count for correction.
# Verify running kernel against the patched commits before relying on freeze/snapshot workflows
uname -r
# Inspect recent kernel messages for the stuck-freeze signature
dmesg | grep -i "blockdev is frozen"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

