# CVE-2024-53234: erofs: handle NONHEAD !delta[1] lclusters gracefully

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-12-27T13:50:20.909Z
- Modified: 2026-06-17T08:08:39.880Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

erofs: handle NONHEAD !delta[1] lclusters gracefully

syzbot reported a WARNING in iomap_iter_done:
 iomap_fiemap+0x73b/0x9b0 fs/iomap/fiemap.c:80
 ioctl_fiemap fs/ioctl.c:220 [inline]

Generally, NONHEAD lclusters won't have delta[1]==0, except for crafted
images and filesystems created by pre-1.0 mkfs versions.

Previously, it would immediately bail out if delta[1]==0, which led to
inadequate decompressed lengths (thus FIEMAP is impacted).  Treat it as
delta[1]=1 to work around these legacy mkfs versions.

`lclusterbits > 14` is illegal for compact indexes, error out too.

(As written by CVE List.)

## Affected

- Linux Linux: from d95ae5e25326092d61613acf98280270dde22778 before 75a0a6dde803e7a3af700da8da9a361b49f69eba; from d95ae5e25326092d61613acf98280270dde22778 before f466641debcbea8bdf78d1b63a6270aadf9301bf; from d95ae5e25326092d61613acf98280270dde22778 before 480c6c7b55aeacac800bc2a0d321ff53273045e5; from d95ae5e25326092d61613acf98280270dde22778 before daaf68fef4b2ff97928227630021d37b27a96655; from d95ae5e25326092d61613acf98280270dde22778 before 0bc8061ffc733a0a246b8689b2d32a3e9204f43c; 96a85becb811ca2ce21a21721f1544d342ae431e; 8c723eef989bc419585237daa467b787ddca5415; from 5.4.251 before 5.5; from 5.10.188 before 5.11; 5.15 (not affected: before 5.15; from 6.1.127 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 5.4.251 before 5.5; from 5.10.188 before 5.11; from 5.15 before 6.1.127; from 6.2 before 6.6.64; from 6.7 before 6.11.11; from 6.12 before 6.12.2

## References

- <https://git.kernel.org/stable/c/75a0a6dde803e7a3af700da8da9a361b49f69eba> (patch)
- <https://git.kernel.org/stable/c/f466641debcbea8bdf78d1b63a6270aadf9301bf> (patch)
- <https://git.kernel.org/stable/c/480c6c7b55aeacac800bc2a0d321ff53273045e5> (patch)
- <https://git.kernel.org/stable/c/daaf68fef4b2ff97928227630021d37b27a96655> (patch)
- <https://git.kernel.org/stable/c/0bc8061ffc733a0a246b8689b2d32a3e9204f43c> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Sources

- CVE List: [CVE-2024-53234](https://www.cve.org/CVERecord?id=CVE-2024-53234), CVE Terms of Use, modified 2026-05-23
- NVD: [CVE-2024-53234](https://nvd.nist.gov/vuln/detail/CVE-2024-53234), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-53234 · Whole record: https://cve.day/CVE-2024-53234.json · Rebuilt by cve.day 2026-11-25T22:58:50.431Z
