CVE-2025-38709
loop: Avoid updating block size under exclusive owner
Mitigation
- Upgrade Linux to 7e49538288e523427beedd26993d446afef1a6fb or later.
Who should check
- Anyone running Linux >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 46034518cae95db4abfde990c9ca1a0751855072; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 457d2c5e112fd08dc1039b1ae39a83ec1782360d; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 139a000d20f2f38ce34296feddd641d730fe1c08; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < b928438cc87c0bf7ae078e4b7b6e14261e84c5c5; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 5d67b30aefeb7a949040bbb1b4e3b84c5d29a624; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 7e49538288e523427beedd26993d446afef1a6fb
- Anyone running Linux 4.14
Vulnerability facts
- Affected
- Linux >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 46034518cae95db4abfde990c9ca1a0751855072; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 457d2c5e112fd08dc1039b1ae39a83ec1782360d; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 139a000d20f2f38ce34296feddd641d730fe1c08; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < b928438cc87c0bf7ae078e4b7b6e14261e84c5c5; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 5d67b30aefeb7a949040bbb1b4e3b84c5d29a624; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 7e49538288e523427beedd26993d446afef1a6fb; Linux 4.14
- Fixed in
- Linux 46034518cae95db4abfde990c9ca1a0751855072, Linux 457d2c5e112fd08dc1039b1ae39a83ec1782360d, Linux 139a000d20f2f38ce34296feddd641d730fe1c08, Linux 5d67b30aefeb7a949040bbb1b4e3b84c5d29a624, Linux 7e49538288e523427beedd26993d446afef1a6fb
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 46034518cae95db4abfde990c9ca1a0751855072; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 457d2c5e112fd08dc1039b1ae39a83ec1782360d; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 139a000d20f2f38ce34296feddd641d730fe1c08; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < b928438cc87c0bf7ae078e4b7b6e14261e84c5c5; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 5d67b30aefeb7a949040bbb1b4e3b84c5d29a624; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 7e49538288e523427beedd26993d446afef1a6fb | — | cvelist |
| Linux | 4.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38709. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38709.md Affected: Linux >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 46034518cae95db4abfde990c9ca1a0751855072; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 457d2c5e112fd08dc1039b1ae39a83ec1782360d; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 139a000d20f2f38ce34296feddd641d730fe1c08; >= 89e4fdecb51cf5535867026… Fixed in: Linux 46034518cae95db4abfde990c9ca1a0751855072, Linux 457d2c5e112fd08dc1039b1ae39a83ec1782360d, Linux 139a000d20f2f38ce34296feddd641d730fe1c08, Linux 5d67b30aefeb7a949040bbb1b4e3b84c5d29a624, Linux 7e49538288e523427beedd26993d446afef1a6fb Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/457d2c5e112fd08dc1039b1ae39a83ec1782360d
- https://git.kernel.org/stable/c/139a000d20f2f38ce34296feddd641d730fe1c08
- https://git.kernel.org/stable/c/b928438cc87c0bf7ae078e4b7b6e14261e84c5c5
- https://git.kernel.org/stable/c/5d67b30aefeb7a949040bbb1b4e3b84c5d29a624
- https://git.kernel.org/stable/c/7e49538288e523427beedd26993d446afef1a6fb
FAQ
Is CVE-2025-38709 being exploited?
There is no confirmed exploitation: CVE-2025-38709 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38709?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38709?
Linux >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 46034518cae95db4abfde990c9ca1a0751855072; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 457d2c5e112fd08dc1039b1ae39a83ec1782360d; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 139a000d20f2f38ce34296feddd641d730fe1c08; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < b928438cc87c0bf7ae078e4b7b6e14261e84c5c5; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 5d67b30aefeb7a949040bbb1b4e3b84c5d29a624; >= 89e4fdecb51cf5535867026274bc97de9480ade5, < 7e49538288e523427beedd26993d446afef1a6fb; Linux 4.14.
Is there a fix for CVE-2025-38709?
Yes. Fixed in Linux 46034518cae95db4abfde990c9ca1a0751855072, Linux 457d2c5e112fd08dc1039b1ae39a83ec1782360d, Linux 139a000d20f2f38ce34296feddd641d730fe1c08, Linux 5d67b30aefeb7a949040bbb1b4e3b84c5d29a624, Linux 7e49538288e523427beedd26993d446afef1a6fb. Upgrade Linux to 7e49538288e523427beedd26993d446afef1a6fb or later.
How do I check if I'm affected by CVE-2025-38709?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.