{"id":"CVE-2024-49902","summary":"jfs: check if leafidx greater than num leaves per dmap tree","details":"In the Linux kernel, the following vulnerability has been resolved:\n\njfs: check if leafidx greater than num leaves per dmap tree\n\nsyzbot report a out of bounds in dbSplit, it because dmt_leafidx greater\nthan num leaves per dmap tree, add a checking for dmt_leafidx in dbFindLeaf.\n\nShaggy:\nModified sanity check to apply to control pages as well as leaf pages.","modified":"2026-03-20T12:39:26.820975Z","published":"2024-10-21T18:01:33.936Z","related":["MGASA-2024-0344","MGASA-2024-0345","SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49902.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/058aa89b3318be3d66a103ba7c68d717561e1dc6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2451e5917c56be45d4add786e2a059dd9c2c37c4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/25d2a3ff02f22e215ce53355619df10cc5faa7ab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/35b91f15f44ce3c01eba058ccb864bb04743e792"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4a7bf6a01fb441009a6698179a739957efd88e38"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7fff9a9f866e99931cf6fa260288e55d01626582"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb0eb10558802764f07de1dc439c4609e27cb4f0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d64ff0d2306713ff084d4b09f84ed1a8c75ecc32"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d76b9a4c283c7535ae7c7c9b14984e75402951e1"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/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/49xxx/CVE-2024-49902.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49902"},{"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":"d76b9a4c283c7535ae7c7c9b14984e75402951e1"},{"fixed":"35b91f15f44ce3c01eba058ccb864bb04743e792"},{"fixed":"2451e5917c56be45d4add786e2a059dd9c2c37c4"},{"fixed":"25d2a3ff02f22e215ce53355619df10cc5faa7ab"},{"fixed":"058aa89b3318be3d66a103ba7c68d717561e1dc6"},{"fixed":"7fff9a9f866e99931cf6fa260288e55d01626582"},{"fixed":"cb0eb10558802764f07de1dc439c4609e27cb4f0"},{"fixed":"4a7bf6a01fb441009a6698179a739957efd88e38"},{"fixed":"d64ff0d2306713ff084d4b09f84ed1a8c75ecc32"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49902.json"}}],"schema_version":"1.7.5"}