CVE-2024-56595: Linux kernel · jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 00:49 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to add a boundary check preventing the array-index-out-of-bounds in the dbAdjTree function. Users should apply the official kernel updates that include this patch once available. Since this is not a cloud service, manual patching is required. Patch status is not explicitly confirmed in the provided data; users should consult the Linux kernel vendor advisory for the exact fixed versions and update accordingly.
Description
CVE-2024-56595 is a high-severity vulnerability in the Linux kernel's JFS filesystem code. It involves an array-index-out-of-bounds condition in the dbAdjTree function. The flaw occurs when a loop variable 'lp' becomes negative due to insufficient boundary checks, potentially leading to memory corruption. This vulnerability has been resolved by adding a check to prevent the out-of-bounds access.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56595 (opens in a new tab)
- git.kernel.org/stable/c/368a533152220b0a6f1142327d96c6b6361f3002 (opens in a new tab)
- git.kernel.org/stable/c/3b5d21b56c3774bc84eab0a93aaac22a4475e2c4 (opens in a new tab)
- git.kernel.org/stable/c/491487eeddccc4bb49f2e59d8c8f35bec89c15ca (opens in a new tab)
- git.kernel.org/stable/c/8a4311bbde702362fe7412045d06ab6767235dac (opens in a new tab)
- git.kernel.org/stable/c/a174706ba4dad895c40b1d2277bade16dfacdcd9 (opens in a new tab)
- git.kernel.org/stable/c/a3d408870bc19b794646871bc4c3a5daa66f91c5 (opens in a new tab)
- git.kernel.org/stable/c/b15000bcbecf27e0f7c0f149a409e5b865e28ca2 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)