CVE-2025-40241
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.8
- Severity
- 7.8
- EPSS
- 0.2 %
- Percentile
- 5
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn 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.
- Published
- 04.12.2025
- Modified
- 19.10.2026
- Status
- Deferred
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor updates
5- Ubuntu: USN-8029-3 – Linux kernel (Azure) vulnerabilities 24.02.2026 · Critical · Patch day
- Ubuntu: USN-8048-1 – Linux kernel (OEM) vulnerabilities 17.02.2026 · Critical · Patch day
- Ubuntu: USN-8029-2 – Linux kernel vulnerabilities 17.02.2026 · Critical · Patch day
- Ubuntu: USN-8030-1 – Linux kernel (GCP) vulnerabilities 12.02.2026 · Critical · Patch day
- Ubuntu: USN-8029-1 – Linux kernel vulnerabilities 12.02.2026 · Critical · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.