================================================================== BUG: KASAN: wild-memory-access in memcpy_from_page include/linux/highmem.h:423 [inline] BUG: KASAN: wild-memory-access in hfsplus_bnode_read+0x100/0x240 fs/hfsplus/bnode.c:32 Read of size 1 at addr 0005088000000fff by task kworker/u8:7/3501 CPU: 1 UID: 0 PID: 3501 Comm: kworker/u8:7 Not tainted 6.12.0-rc7-syzkaller-00189-ge8bdb3c8be08 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: writeback wb_workfn (flush-7:0) Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 kasan_report+0xd9/0x110 mm/kasan/report.c:601 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0xef/0x1a0 mm/kasan/generic.c:189 __asan_memcpy+0x23/0x60 mm/kasan/shadow.c:105 memcpy_from_page include/linux/highmem.h:423 [inline] hfsplus_bnode_read+0x100/0x240 fs/hfsplus/bnode.c:32 hfsplus_bnode_read_u16 fs/hfsplus/bnode.c:45 [inline] hfsplus_bnode_find+0x860/0xcb0 fs/hfsplus/bnode.c:522 hfsplus_btree_write+0x1e/0x490 fs/hfsplus/btree.c:289 hfsplus_system_write_inode fs/hfsplus/super.c:136 [inline] hfsplus_write_inode fs/hfsplus/super.c:162 [inline] hfsplus_write_inode+0x306/0x4f0 fs/hfsplus/super.c:147 write_inode fs/fs-writeback.c:1503 [inline] __writeback_single_inode+0xb4c/0xfa0 fs/fs-writeback.c:1723 writeback_sb_inodes+0x603/0xfa0 fs/fs-writeback.c:1954 wb_writeback+0x199/0xb50 fs/fs-writeback.c:2134 wb_do_writeback fs/fs-writeback.c:2281 [inline] wb_workfn+0x294/0xbc0 fs/fs-writeback.c:2321 process_one_work+0x9c8/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c4/0x3a0 kernel/kthread.c:389 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 ================================================================== hfsplus: b-tree write err: -5, ino 3 ================================================================== BUG: KASAN: wild-memory-access in memcpy_from_page include/linux/highmem.h:423 [inline] BUG: KASAN: wild-memory-access in hfsplus_bnode_read+0x100/0x240 fs/hfsplus/bnode.c:32 Read of size 1 at addr 0005088000000fff by task kworker/u8:7/3501 CPU: 0 UID: 0 PID: 3501 Comm: kworker/u8:7 Tainted: G B 6.12.0-rc7-syzkaller-00189-ge8bdb3c8be08 #0 Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: writeback wb_workfn (flush-7:0) Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 kasan_report+0xd9/0x110 mm/kasan/report.c:601 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0xef/0x1a0 mm/kasan/generic.c:189 __asan_memcpy+0x23/0x60 mm/kasan/shadow.c:105 memcpy_from_page include/linux/highmem.h:423 [inline] hfsplus_bnode_read+0x100/0x240 fs/hfsplus/bnode.c:32 hfsplus_bnode_read_u16 fs/hfsplus/bnode.c:45 [inline] hfsplus_bnode_find+0x860/0xcb0 fs/hfsplus/bnode.c:522 hfsplus_btree_write+0x1e/0x490 fs/hfsplus/btree.c:289 hfsplus_system_write_inode fs/hfsplus/super.c:136 [inline] hfsplus_write_inode fs/hfsplus/super.c:162 [inline] hfsplus_write_inode+0x306/0x4f0 fs/hfsplus/super.c:147 write_inode fs/fs-writeback.c:1503 [inline] __writeback_single_inode+0xb4c/0xfa0 fs/fs-writeback.c:1723 writeback_sb_inodes+0x603/0xfa0 fs/fs-writeback.c:1954 wb_writeback+0x199/0xb50 fs/fs-writeback.c:2134 wb_do_writeback fs/fs-writeback.c:2281 [inline] wb_workfn+0x294/0xbc0 fs/fs-writeback.c:2321 process_one_work+0x9c8/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c4/0x3a0 kernel/kthread.c:389 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 ================================================================== hfsplus: b-tree write err: -5, ino 3 ================================================================== BUG: KASAN: wild-memory-access in memcpy_from_page include/linux/highmem.h:423 [inline] BUG: KASAN: wild-memory-access in hfsplus_bnode_read+0x100/0x240 fs/hfsplus/bnode.c:32 Read of size 1 at addr 0005088000000fff by task kworker/u8:7/3501 CPU: 0 UID: 0 PID: 3501 Comm: kworker/u8:7 Tainted: G B 6.12.0-rc7-syzkaller-00189-ge8bdb3c8be08 #0 Tainted: [B]=BAD_PAGE Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: writeback wb_workfn (flush-7:0) Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 kasan_report+0xd9/0x110 mm/kasan/report.c:601 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0xef/0x1a0 mm/kasan/generic.c:189 __asan_memcpy+0x23/0x60 mm/kasan/shadow.c:105 memcpy_from_page include/linux/highmem.h:423 [inline] hfsplus_bnode_read+0x100/0x240 fs/hfsplus/bnode.c:32 hfsplus_bnode_read_u16 fs/hfsplus/bnode.c:45 [inline] hfsplus_bnode_find+0x860/0xcb0 fs/hfsplus/bnode.c:522 hfsplus_btree_write+0x1e/0x490 fs/hfsplus/btree.c:289 hfsplus_system_write_inode fs/hfsplus/super.c:136 [inline] hfsplus_write_inode fs/hfsplus/super.c:162 [inline] hfsplus_write_inode+0x306/0x4f0 fs/hfsplus/super.c:147 write_inode fs/fs-writeback.c:1503 [inline] __writeback_single_inode+0xb4c/0xfa0 fs/fs-writeback.c:1723 writeback_sb_inodes+0x603/0xfa0 fs/fs-writeback.c:1954 wb_writeback+0x199/0xb50 fs/fs-writeback.c:2134 wb_do_writeback fs/fs-writeback.c:2281 [inline] wb_workfn+0x294/0xbc0 fs/fs-writeback.c:2321 process_one_work+0x9c8/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c4/0x3a0 kernel/kthread.c:389 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 ================================================================== hfsplus: b-tree write err: -5, ino 3