{"id":"CVE-2025-38715","summary":"hfs: fix slab-out-of-bounds in hfs_bnode_read()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nhfs: fix slab-out-of-bounds in hfs_bnode_read()\n\nThis patch introduces is_bnode_offset_valid() method that checks\nthe requested offset value. Also, it introduces\ncheck_and_correct_requested_length() method that checks and\ncorrect the requested length (if it is necessary). These methods\nare used in hfs_bnode_read(), hfs_bnode_write(), hfs_bnode_clear(),\nhfs_bnode_copy(), and hfs_bnode_move() with the goal to prevent\nthe access out of allocated memory and triggering the crash.","modified":"2026-03-20T12:42:59.580533Z","published":"2025-09-04T15:33:09.954Z","related":["MGASA-2025-0234","MGASA-2025-0235","SUSE-SU-2025:03600-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38715.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/384a66b89f9540a9a8cb0f48807697dfabaece4c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/67ecc81f6492275c9c54280532f558483c99c90e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a1a60e79502279f996e55052f50cc14919020475"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a431930c9bac518bf99d6b1da526a7f37ddee8d8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e7d2dc2421e821e4045775e6dc226378328de6f6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eec522fd0d28106b14a59ab2d658605febe4a3bb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/efc095b35b23297e419c2ab4fc1ed1a8f0781a29"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fc7f732984ec91f30be3e574e0644066d07f2b78"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fe2891a9c43ab87d1a210d61e6438ca6936e2f62"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38715.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38715"},{"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":"e7d2dc2421e821e4045775e6dc226378328de6f6"},{"fixed":"67ecc81f6492275c9c54280532f558483c99c90e"},{"fixed":"a1a60e79502279f996e55052f50cc14919020475"},{"fixed":"fe2891a9c43ab87d1a210d61e6438ca6936e2f62"},{"fixed":"384a66b89f9540a9a8cb0f48807697dfabaece4c"},{"fixed":"efc095b35b23297e419c2ab4fc1ed1a8f0781a29"},{"fixed":"fc7f732984ec91f30be3e574e0644066d07f2b78"},{"fixed":"eec522fd0d28106b14a59ab2d658605febe4a3bb"},{"fixed":"a431930c9bac518bf99d6b1da526a7f37ddee8d8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38715.json"}}],"schema_version":"1.7.5"}