CVE-2025-37782 Information
Description
In the Linux kernel the following vulnerability has been resolved:
hfs/hfsplus: fix slab-out-of-bounds in hfs_bnode_read_key
Syzbot reported an issue in hfs subsystem:
BUG: KASAN: slab-out-of-bounds in memcpy_from_page include/linux/highmem.h:423 [inline] BUG: KASAN: slab-out-of-bounds in hfs_bnode_read fs/hfs/bnode.c:35 [inline] BUG: KASAN: slab-out-of-bounds in hfs_bnode_read_key+0x314/0x450 fs/hfs/bnode.c:70 Write of size 94 at addr ffff8880123cd100 by task syz-executor237/5102
Call Trace:
Add a check for key length in hfs_bnode_read_key to prevent out-of-bounds memory access. If the key length is invalid the key buffer is cleared improving stability and reliability.
Reference
https://git.kernel.org/stable/c/0296f9733543c7c8e666e69da743cfffd32dd805 https://git.kernel.org/stable/c/84e8719c087e68c967975b78e67be54f697c957f https://git.kernel.org/stable/c/9c93fb4ad8d3b730afe1a09949ebbea64d4f60eb https://git.kernel.org/stable/c/9f77aa584a659b21211a794e53522e6fb16d4a16 https://git.kernel.org/stable/c/bb5e07cb927724e0b47be371fa081141cfb14414
Share on: