CVE-2025-38709
loop: Avoid updating block size under exclusive owner
Check your servers for CVE-2025-38709
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-38709 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 89e4fdecb51cf5535867026274bc97de9480ade5, before 46034518cae95db4abfde990c9ca1a0751855072 affected from 89e4fdecb51cf5535867026274bc97de9480ade5, before 457d2c5e112fd08dc1039b1ae39a83ec1782360d affected from 89e4fdecb51cf5535867026274bc97de9480ade5, before 139a000d20f2f38ce34296feddd641d730fe1c08 affected from 89e4fdecb51cf5535867026274bc97de9480ade5, before b928438cc87c0bf7ae078e4b7b6e14261e84c5c5 affected from 89e4fdecb51cf5535867026274bc97de9480ade5, before 5d67b30aefeb7a949040bbb1b4e3b84c5d29a624 affected from 89e4fdecb51cf5535867026274bc97de9480ade5, before 7e49538288e523427beedd26993d446afef1a6fb
Other versions: unaffected
|
| Linux |
affected 4.14 unaffected before 4.14 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.109 up to and including 6.6.* unaffected from 6.12.43 up to and including 6.12.* unaffected from 6.15.11 up to and including 6.15.* unaffected from 6.16.2 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-38709 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38709
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-38709
trivy image --scanners vuln IMAGE | grep CVE-2025-38709
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/46034518cae95db4abfde990c9ca1a0751855072 git.kernel.org
- https://git.kernel.org/stable/c/457d2c5e112fd08dc1039b1ae39a83ec1782360d git.kernel.org
- https://git.kernel.org/stable/c/139a000d20f2f38ce34296feddd641d730fe1c08 git.kernel.org
- https://git.kernel.org/stable/c/b928438cc87c0bf7ae078e4b7b6e14261e84c5c5 git.kernel.org
- https://git.kernel.org/stable/c/5d67b30aefeb7a949040bbb1b4e3b84c5d29a624 git.kernel.org
- https://git.kernel.org/stable/c/7e49538288e523427beedd26993d446afef1a6fb git.kernel.org
Source: the record CVE-2025-38709 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse