{"id":"CVE-2024-56595","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:\n\njfs: add a check to prevent array-index-out-of-bounds in dbAdjTree\n\nWhen the value of lp is 0 at the beginning of the for loop, it will\nbecome negative in the next assignment and we should bail out.","modified":"2026-04-16T04:31:34.289515516Z","published":"2024-12-27T14:51:02.371Z","related":["SUSE-SU-2025:0289-1","SUSE-SU-2025:0428-1","SUSE-SU-2025:0499-1","SUSE-SU-2025:0556-1","SUSE-SU-2025:0557-1","SUSE-SU-2025:0577-1","SUSE-SU-2025:0577-2","SUSE-SU-2025:20165-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20248-1","SUSE-SU-2025:20249-1","USN-7379-2","USN-7380-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56595.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/368a533152220b0a6f1142327d96c6b6361f3002"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3b5d21b56c3774bc84eab0a93aaac22a4475e2c4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/491487eeddccc4bb49f2e59d8c8f35bec89c15ca"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a4311bbde702362fe7412045d06ab6767235dac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a174706ba4dad895c40b1d2277bade16dfacdcd9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3d408870bc19b794646871bc4c3a5daa66f91c5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b15000bcbecf27e0f7c0f149a409e5b865e28ca2"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56595.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56595"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2024-56595.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}