# CVE-2023-52805: jfs: fix array-index-out-of-bounds in diAlloc

- 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.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-05-21T15:31:16.374Z
- Modified: 2026-08-05T09:11:31.057Z
- 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 diAlloc

Currently there is not check against the agno of the iag while
allocating new inodes to avoid fragmentation problem. Added the check
which is required.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2308d0fb0dc32446b4e6ca37cd09c30374bb64e9; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before cf7e3e84df36a9953796c737f080712f631d7083; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7467ca10a5ff09b0e87edf6c4d2a4bfdee69cf2c; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1ba7df5457dc1c1071c5f92ac11323533a6430e1; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 64f062baf202b82f54987a3f614a6c8f3e466641; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8c68af2af697ba2ba3b138be0c6d72e2ce3a3d6d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 665b44e55c2767a4f899c3b18f49e9e1c9983777; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 1708d0a9917fea579cc9da3d87b154285abd2cd8; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 05d9ea1ceb62a55af6727a69269a4fd310edf483; 2.6.12 (not affected: before 2.6.12; from 4.14.331 up to 4.14.*; from 4.19.300 up to 4.19.*; from 5.4.262 up to 5.4.*; from 5.10.202 up to 5.10.*; from 5.15.140 up to 5.15.*; from 6.1.64 up to 6.1.*; from 6.5.13 up to 6.5.*; from 6.6.3 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: before 4.14.331; from 4.15 before 4.19.300; from 4.20 before 5.4.262; from 5.5 before 5.10.202; from 5.11 before 5.15.140; from 5.16 before 6.1.64; from 6.2 before 6.5.13; from 6.6 before 6.6.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`
- 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/2308d0fb0dc32446b4e6ca37cd09c30374bb64e9> (patch)
- <https://git.kernel.org/stable/c/cf7e3e84df36a9953796c737f080712f631d7083> (patch)
- <https://git.kernel.org/stable/c/7467ca10a5ff09b0e87edf6c4d2a4bfdee69cf2c> (patch)
- <https://git.kernel.org/stable/c/1ba7df5457dc1c1071c5f92ac11323533a6430e1> (patch)
- <https://git.kernel.org/stable/c/64f062baf202b82f54987a3f614a6c8f3e466641> (patch)
- <https://git.kernel.org/stable/c/8c68af2af697ba2ba3b138be0c6d72e2ce3a3d6d> (patch)
- <https://git.kernel.org/stable/c/665b44e55c2767a4f899c3b18f49e9e1c9983777> (patch)
- <https://git.kernel.org/stable/c/1708d0a9917fea579cc9da3d87b154285abd2cd8> (patch)
- <https://git.kernel.org/stable/c/05d9ea1ceb62a55af6727a69269a4fd310edf483> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2023-52805 · Whole record: https://cve.day/CVE-2023-52805.json · Rebuilt by cve.day 2026-11-25T22:58:34.029Z
