{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40241","published":"2025-12-04T16:16:17.250000Z","last_modified":"2026-10-19T19:10:00.130000Z","status":"Deferred","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":true,"cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2025-40241/","html_en":"/en/cve/CVE-2025-40241/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40241","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40241"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: fix crafted invalid cases for encoded extents\n\nRobert recently reported two corrupted images that can cause system\ncrashes, which are related to the new encoded extents introduced\nin Linux 6.15:\n\n  - The first one [1] has plen != 0 (e.g. plen == 0x2000000) but\n    (plen & Z_EROFS_EXTENT_PLEN_MASK) == 0. It is used to represent\n    special extents such as sparse extents (!EROFS_MAP_MAPPED), but\n    previously only plen == 0 was handled;\n\n  - The second one [2] has pa 0xffffffffffdcffed and plen 0xb4000,\n    then \"cur [0xfffffffffffff000] += bvec.bv_len [0x1000]\" in\n    \"} while ((cur += bvec.bv_len) < end);\" wraps around, causing an\n    out-of-bound access of pcl->compressed_bvecs[] in\n    z_erofs_submit_queue().  EROFS only supports 48-bit physical block\n    addresses (up to 1EiB for 4k blocks), so add a sanity check to\n    enforce this.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/00d8fe0b72f4ca0a983abced36aad2160038c421","tags":[]},{"url":"https://git.kernel.org/stable/c/a429b76114aaca3ef1aff4cd469dcf025431bd11","tags":[]}]}}