CVE-2025-40241 in Block products
In the Linux kernel, the following vulnerability has been resolved: erofs: fix crafted invalid cases for encoded extents Robert recently reported two corrupted images that can cause system crashes, which are related to the new encoded extents introduced in Linux 6.15: - The first one [1] has plen != 0 (e.g. ple...
Affects 0 products from 4 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In the Linux kernel, the following vulnerability has been resolved: erofs: fix crafted invalid cases for encoded extents Robert recently reported two corrupted images that can cause system crashes, which are related to the new encoded extents introduced in Linux 6.15: - The first one [1] has plen != 0 (e.g. plen == 0x2000000) but (plen & Z_EROFS_EXTENT_PLEN_MASK) == 0. It is used to represent special extents such as sparse extents (!EROFS_MAP_MAPPED), but previously only plen == 0 was handled; - The second one [2] has pa 0xffffffffffdcffed and plen 0xb4000, then "cur [0xfffffffffffff000] += bvec.bv_len [0x1000]" in "} while ((cur += bvec.bv_len) < end);" wraps around, causing an out-of-bound access of pcl->compressed_bvecs[] in z_erofs_submit_queue(). EROFS only supports 48-bit physical block addresses (up to 1EiB for 4k blocks), so add a sanity check to enforce this.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-40241 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-258999-I |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-12-04 |
| Last modified | 2026-10-19 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the Linux kernel's erofs module can cause system crashes due to crafted invalid cases for encoded extents. This issue affects Linux 6.15 and potentially earlier versions using the erofs file system.
An attacker with access to the file system can create or introduce corrupted images with specific crafted invalid cases for encoded extents, leading to system crashes. The vulnerability is triggered by specific values in the plen field of the encoded extent that do not conform to expected masks.
Questions
What is CVE-2025-40241?
A vulnerability in the Linux kernel's erofs module can cause system crashes due to crafted invalid cases for encoded extents. This issue affects Linux 6.15 and potentially earlier versions using the erofs file system.
What is the CVSS score for CVE-2025-40241?
CVE-2025-40241 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.
Is CVE-2025-40241 actively exploited?
No confirmed active exploitation of CVE-2025-40241 as of 2026-10-25.
How do I remediate CVE-2025-40241?
Priority: HIGH.
What systems are affected by CVE-2025-40241?
CVE-2025-40241 affects Block; Enforce; Kernel; Linux.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Block","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-19.