================================================================== BUG: KASAN: null-ptr-deref in fuse_copy_do+0x286/0x320 fs/fuse/dev.c:807 Read of size 1 at addr 0000000000000000 by task syz.0.51/6109 CPU: 1 UID: 0 PID: 6109 Comm: syz.0.51 Not tainted 6.12.0-syzkaller-10740-g509f806f7f70 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 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:602 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 fuse_copy_do+0x286/0x320 fs/fuse/dev.c:807 fuse_copy_one fs/fuse/dev.c:1065 [inline] fuse_copy_args+0x1e6/0x770 fs/fuse/dev.c:1083 fuse_dev_do_read+0x1608/0x2320 fs/fuse/dev.c:1357 fuse_dev_read+0x156/0x1f0 fs/fuse/dev.c:1424 new_sync_read fs/read_write.c:484 [inline] vfs_read+0x87f/0xbe0 fs/read_write.c:565 ksys_read+0x12b/0x250 fs/read_write.c:708 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb40757f25c Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 8e 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 48 89 44 24 08 e8 ef 8e 02 00 48 RSP: 002b:00007fb408466fd0 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000020002100 RCX: 00007fb40757f25c RDX: 0000000000002000 RSI: 0000000020002100 RDI: 0000000000000003 RBP: 00007fb4075f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000003 R13: 0000000020000c80 R14: 00007fb407745fa0 R15: 00007ffe801ea768 ==================================================================