# CVE-2025-38709: loop: Avoid updating block size under exclusive owner

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **Published:** 2025-09-04T15:32:59.818Z
- **Modified:** 2026-11-05T22:17:26.557Z

## Who should check

- Anyone running Linux \>= 89e4fdecb51cf5535867026274bc97de9480ade5, \< 46034518cae95db4abfde990c9ca1a0751855072; \>= 89e4fdecb51cf5535867026274bc97de9480ade5, \< 457d2c5e112fd08dc1039b1ae39a83ec1782360d; \>= 89e4fdecb51cf5535867026274bc97de9480ade5, \< 139a000d20f2f38ce34296feddd641d730fe1c08; \>= 89e4fdecb51cf5535867026274bc97de9480ade5, \< b928438cc87c0bf7ae078e4b7b6e14261e84c5c5; \>= 89e4fdecb51cf5535867026274bc97de9480ade5, \< 5d67b30aefeb7a949040bbb1b4e3b84c5d29a624; \>= 89e4fdecb51cf5535867026274bc97de9480ade5, \< 7e49538288e523427beedd26993d446afef1a6fb
- Anyone running Linux 4.14

## 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

- Linux: \>= 89e4fdecb51cf5535867026274bc97de9480ade5, \< 46034518cae95db4abfde990c9ca1a0751855072; \>= 89e4fdecb51cf5535867026274bc97de9480ade5, \< 457d2c5e112fd08dc1039b1ae39a83ec1782360d; \>= 89e4fdecb51cf5535867026274bc97de9480ade5, \< 139a000d20f2f38ce34296feddd641d730fe1c08; \>= 89e4fdecb51cf5535867026274bc97de9480ade5, \< b928438cc87c0bf7ae078e4b7b6e14261e84c5c5; \>= 89e4fdecb51cf5535867026274bc97de9480ade5, \< 5d67b30aefeb7a949040bbb1b4e3b84c5d29a624; \>= 89e4fdecb51cf5535867026274bc97de9480ade5, \< 7e49538288e523427beedd26993d446afef1a6fb (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- Upgrade Linux to 7e49538288e523427beedd26993d446afef1a6fb or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://git.kernel.org/stable/c/457d2c5e112fd08dc1039b1ae39a83ec1782360d>
- patch: <https://git.kernel.org/stable/c/139a000d20f2f38ce34296feddd641d730fe1c08>
- patch: <https://git.kernel.org/stable/c/b928438cc87c0bf7ae078e4b7b6e14261e84c5c5>
- patch: <https://git.kernel.org/stable/c/5d67b30aefeb7a949040bbb1b4e3b84c5d29a624>
- patch: <https://git.kernel.org/stable/c/7e49538288e523427beedd26993d446afef1a6fb>
- other: <https://git.kernel.org/stable/c/46034518cae95db4abfde990c9ca1a0751855072>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38709>

HTML: <https://flawdb.com/CVE-2025-38709> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38709>
