CVE-2024-56595

Source
https://cve.org/CVERecord?id=CVE-2024-56595
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56595.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-56595
Downstream
Related
Published
2024-12-27T14:51:02.371Z
Modified
2026-03-11T07:48:56.346715Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56595.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
b15000bcbecf27e0f7c0f149a409e5b865e28ca2
Fixed
368a533152220b0a6f1142327d96c6b6361f3002
Fixed
a3d408870bc19b794646871bc4c3a5daa66f91c5
Fixed
491487eeddccc4bb49f2e59d8c8f35bec89c15ca
Fixed
3b5d21b56c3774bc84eab0a93aaac22a4475e2c4
Fixed
8a4311bbde702362fe7412045d06ab6767235dac
Fixed
a174706ba4dad895c40b1d2277bade16dfacdcd9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-56595.json"