================================================================== BUG: KASAN: null-ptr-deref in fuse_copy_do+0x286/0x320 fs/fuse/dev.c:807 Read of size 9 at addr 0000000000000000 by task syz.0.46/6077 CPU: 0 UID: 0 PID: 6077 Comm: syz.0.46 Not tainted 6.12.0-syzkaller-09734-g445d9f05fa14 #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:0x7fe582f7f21c 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:00007fe583e64fd0 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000020002100 RCX: 00007fe582f7f21c RDX: 0000000000002000 RSI: 0000000020002100 RDI: 0000000000000003 RBP: 00007fe582ff393e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000003 R13: 0000000020000c80 R14: 00007fe583145fa0 R15: 00007ffd012fa8d8 ==================================================================