# CVE-2024-47723: jfs: fix out-of-bounds in dbNextAG() and 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.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2024-10-21T12:13:57.614Z
- Modified: 2026-10-15T01:18:57.280Z
- Weaknesses: CWE-125
- 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: fix out-of-bounds in dbNextAG() and diAlloc()

In dbNextAG() , there is no check for the case where bmp->db_numag is
greater or same than MAXAG due to a polluted image, which causes an
out-of-bounds. Therefore, a bounds check should be added in dbMount().

And in dbNextAG(), a check for the case where agpref is greater than
bmp->db_numag should be added, so an out-of-bounds exception should be
prevented.

Additionally, a check for the case where agno is greater or same than
MAXAG should be added in diAlloc() to prevent out-of-bounds.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d1017d2a0f3f16dc1db5120e7ddbe7c6680425b0; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5ad6284c8d433f8a213111c5c44ead4d9705b622; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 0338e66cba272351ca9d7d03f3628e390e70963b; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before ead82533278502428883085a787d5a00f15e5eb9; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6ce8b6ab44a8b5918c0ee373d4ad19d19017931b; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c1ba4b8ca799ff1d99d01f37d7ccb7d5ba5533d2; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 128d5cfdcf844cb690c9295a3a1c1114c21fc15a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 96855f40e152989c9e7c20c4691ace5581098acc; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e63866a475562810500ea7f784099bfe341e761a; 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.54 up to 6.6.*; from 6.10.13 up to 6.10.*; from 6.11.2 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 2.6.12 before 5.10.227; from 5.11 before 5.15.168; from 5.16 before 6.1.113; from 6.2 before 6.6.54; from 6.7 before 6.10.13; from 6.11 before 6.11.2

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

## References

- <https://git.kernel.org/stable/c/d1017d2a0f3f16dc1db5120e7ddbe7c6680425b0>
- <https://git.kernel.org/stable/c/5ad6284c8d433f8a213111c5c44ead4d9705b622>
- <https://git.kernel.org/stable/c/0338e66cba272351ca9d7d03f3628e390e70963b> (patch)
- <https://git.kernel.org/stable/c/ead82533278502428883085a787d5a00f15e5eb9> (patch)
- <https://git.kernel.org/stable/c/6ce8b6ab44a8b5918c0ee373d4ad19d19017931b> (patch)
- <https://git.kernel.org/stable/c/c1ba4b8ca799ff1d99d01f37d7ccb7d5ba5533d2> (patch)
- <https://git.kernel.org/stable/c/128d5cfdcf844cb690c9295a3a1c1114c21fc15a> (patch)
- <https://git.kernel.org/stable/c/96855f40e152989c9e7c20c4691ace5581098acc> (patch)
- <https://git.kernel.org/stable/c/e63866a475562810500ea7f784099bfe341e761a> (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-47723](https://www.cve.org/CVERecord?id=CVE-2024-47723), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-47723](https://nvd.nist.gov/vuln/detail/CVE-2024-47723), Public domain, modified 2026-10-15

---

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