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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-10-21 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2024-49902, DEBIAN-CVE-2024-49902
- Record: https://cvemate.com/vulnerability/CVE-2024-49902 · JSON: https://cvemate.com/vulnerability/CVE-2024-49902/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.287%, percentile 22.815%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 138)

- debian linux (Debian): \< 6.1.115-1 \| \< 6.11.4-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-266.300 \| \< 4.15.0-235.247 \| \< 5.4.0-208.228 \| \< 5.15.0-127.137 \| \< 6.8.0-54.56
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1141.147 \| \< 4.4.0-1179.194 \| \< 4.15.0-1178.191 \| \< 5.4.0-1140.150 \| \< 5.15.0-1073.79 \| \< 6.8.0-1023.25
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1073.79~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1142.152~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1023.25~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2116.122 \| All versions (No fix recorded) \| \< 5.4.0-1140.151+fips1 \| \< 5.15.0-1073.79+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1178.191~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1186.201~14.04.1 \| \< 4.15.0-1186.201~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1145.152 \| \< 5.15.0-1078.87 \| \< 6.8.0-1025.30
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1186.201
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 57)

- <https://git.kernel.org/stable/c/d76b9a4c283c7535ae7c7c9b14984e75402951e1>
- <https://git.kernel.org/stable/c/35b91f15f44ce3c01eba058ccb864bb04743e792>
- <https://git.kernel.org/stable/c/2451e5917c56be45d4add786e2a059dd9c2c37c4>
- <https://git.kernel.org/stable/c/25d2a3ff02f22e215ce53355619df10cc5faa7ab>
- <https://git.kernel.org/stable/c/058aa89b3318be3d66a103ba7c68d717561e1dc6>
- <https://git.kernel.org/stable/c/7fff9a9f866e99931cf6fa260288e55d01626582>
- <https://git.kernel.org/stable/c/cb0eb10558802764f07de1dc439c4609e27cb4f0>
- <https://git.kernel.org/stable/c/4a7bf6a01fb441009a6698179a739957efd88e38>
- <https://git.kernel.org/stable/c/d64ff0d2306713ff084d4b09f84ed1a8c75ecc32>
- <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>
- <https://ubuntu.com/security/CVE-2024-49902>
- <https://www.cve.org/CVERecord?id=CVE-2024-49902>
- <https://git.kernel.org/linus/d64ff0d2306713ff084d4b09f84ed1a8c75ecc32>
- <https://ubuntu.com/security/notices/USN-7166-1>
- <https://ubuntu.com/security/notices/USN-7166-2>
- <https://ubuntu.com/security/notices/USN-7166-3>
- <https://ubuntu.com/security/notices/USN-7186-1>

---

Data as of 2026-12-05T03:51:12.421Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
