# CVE-2024-56596: jfs: fix array-index-out-of-bounds in jfs_readdir

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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.26%, higher than 19% of CVEs (2026-12-02)
- Published: 2024-12-27T14:51:03.282Z
- Modified: 2026-08-05T11:45:15.252Z
- 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: fix array-index-out-of-bounds in jfs_readdir

The stbl might contain some invalid values. Added a check to
return error code in that case.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b62f41aeec9d250144c53875b507c1d45ae8c8fc; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 97e693593162eef6851d232f0c8148169ed46a5c; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 9efe72eefd4c4a7ce63b3e4d667d766d2b360cb4; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ff9fc48fab0e1ea0d423c23c99b91bba178f0b05; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e7d376f94f72b020f84e77278b150ec1cc27502c; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8ff7579554571d92e3deab168f5a7d7b146ed368; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 839f102efb168f02dfdd46717b7c6dddb26b015e; 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

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- 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/b62f41aeec9d250144c53875b507c1d45ae8c8fc> (patch)
- <https://git.kernel.org/stable/c/97e693593162eef6851d232f0c8148169ed46a5c> (patch)
- <https://git.kernel.org/stable/c/9efe72eefd4c4a7ce63b3e4d667d766d2b360cb4> (patch)
- <https://git.kernel.org/stable/c/ff9fc48fab0e1ea0d423c23c99b91bba178f0b05> (patch)
- <https://git.kernel.org/stable/c/e7d376f94f72b020f84e77278b150ec1cc27502c> (patch)
- <https://git.kernel.org/stable/c/8ff7579554571d92e3deab168f5a7d7b146ed368> (patch)
- <https://git.kernel.org/stable/c/839f102efb168f02dfdd46717b7c6dddb26b015e> (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-56596](https://www.cve.org/CVERecord?id=CVE-2024-56596), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-56596](https://nvd.nist.gov/vuln/detail/CVE-2024-56596), Public domain, modified 2026-08-04

---

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