# CVE-2024-49902: jfs: check if leafidx greater than num leaves per dmap tree

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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.29%, higher than 22% of CVEs (2026-12-02)
- Published: 2024-10-21T18:01:33.936Z
- Modified: 2026-10-15T01:19:00.710Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

jfs: check if leafidx greater than num leaves per dmap tree

syzbot report a out of bounds in dbSplit, it because dmt_leafidx greater
than num leaves per dmap tree, add a checking for dmt_leafidx in dbFindLeaf.

Shaggy:
Modified sanity check to apply to control pages as well as leaf pages.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d76b9a4c283c7535ae7c7c9b14984e75402951e1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 35b91f15f44ce3c01eba058ccb864bb04743e792; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2451e5917c56be45d4add786e2a059dd9c2c37c4; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 25d2a3ff02f22e215ce53355619df10cc5faa7ab; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 058aa89b3318be3d66a103ba7c68d717561e1dc6; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7fff9a9f866e99931cf6fa260288e55d01626582; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before cb0eb10558802764f07de1dc439c4609e27cb4f0; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4a7bf6a01fb441009a6698179a739957efd88e38; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d64ff0d2306713ff084d4b09f84ed1a8c75ecc32; 2.6.12 (not affected: before 2.6.12; from 4.19.323 up to 4.19.*; from 5.4.285 up to 5.4.*; from 5.10.227 up to 5.10.*; from 5.15.168 up to 5.15.*; from 6.1.113 up to 6.1.*; from 6.6.55 up to 6.6.*; from 6.10.14 up to 6.10.*; from 6.11.3 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: before 5.10.227; from 5.11 before 5.15.168; from 5.16 before 6.1.113; from 6.2 before 6.6.55; from 6.7 before 6.10.14; from 6.11 before 6.11.3

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d76b9a4c283c7535ae7c7c9b14984e75402951e1> (patch)
- <https://git.kernel.org/stable/c/35b91f15f44ce3c01eba058ccb864bb04743e792> (patch)
- <https://git.kernel.org/stable/c/2451e5917c56be45d4add786e2a059dd9c2c37c4> (patch)
- <https://git.kernel.org/stable/c/25d2a3ff02f22e215ce53355619df10cc5faa7ab> (patch)
- <https://git.kernel.org/stable/c/058aa89b3318be3d66a103ba7c68d717561e1dc6> (patch)
- <https://git.kernel.org/stable/c/7fff9a9f866e99931cf6fa260288e55d01626582> (patch)
- <https://git.kernel.org/stable/c/cb0eb10558802764f07de1dc439c4609e27cb4f0> (patch)
- <https://git.kernel.org/stable/c/4a7bf6a01fb441009a6698179a739957efd88e38> (patch)
- <https://git.kernel.org/stable/c/d64ff0d2306713ff084d4b09f84ed1a8c75ecc32> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

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

---

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