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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-09-04T15:32:59.818Z
- Modified: 2026-11-05T22:17:26.557Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 89e4fdecb51cf5535867026274bc97de9480ade5 before 46034518cae95db4abfde990c9ca1a0751855072; from 89e4fdecb51cf5535867026274bc97de9480ade5 before 457d2c5e112fd08dc1039b1ae39a83ec1782360d; from 89e4fdecb51cf5535867026274bc97de9480ade5 before 139a000d20f2f38ce34296feddd641d730fe1c08; from 89e4fdecb51cf5535867026274bc97de9480ade5 before b928438cc87c0bf7ae078e4b7b6e14261e84c5c5; from 89e4fdecb51cf5535867026274bc97de9480ade5 before 5d67b30aefeb7a949040bbb1b4e3b84c5d29a624; from 89e4fdecb51cf5535867026274bc97de9480ade5 before 7e49538288e523427beedd26993d446afef1a6fb; 4.14 (not affected: before 4.14; from 6.1.191 up to 6.1.*; from 6.6.109 up to 6.6.*; from 6.12.43 up to 6.12.*; from 6.15.11 up to 6.15.*; from 6.16.2 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: before 6.6.109; from 6.7 before 6.12.43; from 6.13 before 6.15.11; from 6.16 before 6.16.2

## References

- <https://git.kernel.org/stable/c/46034518cae95db4abfde990c9ca1a0751855072>
- <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> (patch)

## Sources

- CVE List: [CVE-2025-38709](https://www.cve.org/CVERecord?id=CVE-2025-38709), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38709](https://nvd.nist.gov/vuln/detail/CVE-2025-38709), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38709 · Whole record: https://cve.day/CVE-2025-38709.json · Rebuilt by cve.day 2026-11-25T22:59:04.151Z
