Skip to main content
Mallory
HighVulnerability

CVE-2025-38415: Linux Kernel Squashfs Unchecked Block-Size Return Value

Published Jul 25, 2025 · Updated 9 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.31%16th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
Debian ProjectLinux
IdentifiersCVE-2025-38415CWE-252

CVE-2025-38415 is an unchecked-return-value vulnerability in the Linux kernel Squashfs filesystem implementation. A race between mounting a Squashfs filesystem and changing the underlying loop device's block size can cause sb_min_blocksize() in squashfs_fill_super() to return zero. The return value is used without validation, setting msblk->devblksize to zero. On the reported 64-bit configuration, ffz(~msblk->devblksize) subsequently yields 64, which is stored in msblk->devblksize_log2. Later use in squashfs_bio_read() produces a shift exponent of 64 for a 64-bit integer, triggering undefined behavior and a UBSAN shift-out-of-bounds diagnostic. The flaw can cause local denial of service and is also classified by vendors as a memory-corruption issue.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A local attacker able to trigger the mount/block-size race may cause kernel instability, a kernel crash, or denial of service affecting the host. Vendor classifications also identify possible memory corruption. Arbitrary code execution, privilege escalation, and information disclosure are not established by the specific technical details available for this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

Until patched, restrict untrusted local users' ability to mount Squashfs filesystems and manipulate loop devices. In particular, prevent untrusted workloads from changing a loop device's block size while a filesystem is being mounted on it. These restrictions reduce exposure; no vendor-supported workaround replacing the kernel fix is identified.

Remediation

Patch, then assume compromise.

Install the applicable vendor kernel update and reboot into the patched kernel. The upstream fix checks whether sb_min_blocksize() returns zero and aborts the mount rather than deriving a shift count from the invalid value. Examples of fixed releases include Google Container-Optimized OS csql-kernel-6_1 and related packages at 18244.448.6 or later; RHEL 10.0 kernel 6.12.0-55.62.1.el10_0; RHEL 9.6 kernel 5.14.0-570.92.1.el9_6; and RHEL 8.10 kernel 4.18.0-553.100.1.el8_10. SUSE fixes include kernel-default 6.4.0-150600.23.65.1 for SLES/SLED 15 SP6 and 6.4.0-150700.53.11.1 for SLES/SLED 15 SP7. Use the update appropriate to the product, support stream, and installed kernel variant.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Debian ProjectDebian Linuxoperating_system
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2025-38415 exploited in the wild?
As of Nov 19, 2026, Mallory has no reports of CVE-2025-38415 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-38415?
As of Nov 19, 2026, Mallory has found no public exploit for CVE-2025-38415.
Is there a patch for CVE-2025-38415?
Install the applicable vendor kernel update and reboot into the patched kernel. The upstream fix checks whether sb_min_blocksize() returns zero and aborts the mount rather than deriving a shift count from the invalid value.
What products are affected by CVE-2025-38415?
Linux Kernel and Debian Project Debian Linux.
How severe is CVE-2025-38415?
CVE-2025-38415 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.31% (16th percentile) as of Nov 19, 2026.
Activity feed

Recent activity

31 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+16 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity5Community discussion across Reddit, Mastodon, and other social sources.