CVE-2025-38709

loop: Avoid updating block size under exclusive owner

MEDIUM
5.5
CVSS Score
Published: September 4, 2025 at 03:32 PM UTC
Updated: October 19, 2026 at 09:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: loop: Avoid updating block size under exclusive owner Syzbot came up with a reproducer where a loop device block size is changed underneath a mounted filesystem. This causes a mismatch between the block device block size and the block size stored in the superblock causing confusion in various places such as fs/buffer.c. The particular issue triggered by syzbot was a warning in __getblk_slow() due to requested buffer size not matching block device block size. Fix the problem by getting exclusive hold of the loop device to change its block size. This fails if somebody (such as filesystem) has already an exclusive ownership of the block device and thus prevents modifying the loop device under some exclusive owner which doesn't expect it.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

All versionsv < 6.6.1096.13 ≤ v < 6.15.116.16 ≤ v < 6.16.26.7 ≤ v < 6.12.434.1489e4fdecb51cf5535867026274bc97de9480ade5
Vendor states this is fixed in 139a000d20f2f38ce34296feddd641d730fe1c08 (fixed)
Vendor states this is fixed in 457d2c5e112fd08dc1039b1ae39a83ec1782360d (fixed)
Vendor states this is fixed in 5d67b30aefeb7a949040bbb1b4e3b84c5d29a624 (fixed)
Vendor states this is fixed in 7e49538288e523427beedd26993d446afef1a6fb (fixed)
Vendor states this is fixed in b928438cc87c0bf7ae078e4b7b6e14261e84c5c5 (fixed)
Vendor states this is fixed in 4.14 (unaffected)
Vendor states this is fixed in 6.12.43 (unaffected)
Vendor states this is fixed in 6.15.11 (unaffected)
Vendor states this is fixed in 6.16.2 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.109 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card