# CVE-2024-56595: jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `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.25%, higher than 17% of CVEs (2026-12-02)
- Published: 2024-12-27T14:51:02.371Z
- Modified: 2026-06-17T08:12:30.120Z
- Weaknesses: CWE-129
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree

When the value of lp is 0 at the beginning of the for loop, it will
become negative in the next assignment and we should bail out.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b15000bcbecf27e0f7c0f149a409e5b865e28ca2; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 368a533152220b0a6f1142327d96c6b6361f3002; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a3d408870bc19b794646871bc4c3a5daa66f91c5; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 491487eeddccc4bb49f2e59d8c8f35bec89c15ca; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3b5d21b56c3774bc84eab0a93aaac22a4475e2c4; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8a4311bbde702362fe7412045d06ab6767235dac; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a174706ba4dad895c40b1d2277bade16dfacdcd9; 2.6.12 (not affected: before 2.6.12; from 5.4.287 up to 5.4.*; from 5.10.231 up to 5.10.*; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.66 up to 6.6.*; from 6.12.5 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: before 5.4.287; from 5.5 before 5.10.231; from 5.11 before 5.15.174; from 5.16 before 6.1.120; from 6.2 before 6.6.66; from 6.7 before 6.12.5

## Every score

- CISA-ADP: 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 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/b15000bcbecf27e0f7c0f149a409e5b865e28ca2> (patch)
- <https://git.kernel.org/stable/c/368a533152220b0a6f1142327d96c6b6361f3002> (patch)
- <https://git.kernel.org/stable/c/a3d408870bc19b794646871bc4c3a5daa66f91c5> (patch)
- <https://git.kernel.org/stable/c/491487eeddccc4bb49f2e59d8c8f35bec89c15ca> (patch)
- <https://git.kernel.org/stable/c/3b5d21b56c3774bc84eab0a93aaac22a4475e2c4> (patch)
- <https://git.kernel.org/stable/c/8a4311bbde702362fe7412045d06ab6767235dac> (patch)
- <https://git.kernel.org/stable/c/a174706ba4dad895c40b1d2277bade16dfacdcd9> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

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

---

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