================================================================== BUG: KASAN: null-ptr-deref in fuse_copy_do+0x286/0x320 fs/fuse/dev.c:807 Read of size 6 at addr 0000000000000000 by task syz.0.1622/11313 CPU: 3 UID: 0 PID: 11313 Comm: syz.0.1622 Not tainted 6.13.0-rc1-syzkaller-00182-gb8f52214c61a #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 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:0x7fd58557e8ec Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 93 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 93 02 00 48 RSP: 002b:00007fd586406fd0 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 000000002000a3c0 RCX: 00007fd58557e8ec RDX: 0000000000002000 RSI: 000000002000a3c0 RDI: 0000000000000004 RBP: 00007fd5855f3cc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000004 R13: 0000000020001140 R14: 00007fd585746080 R15: 00007ffeff642388 ==================================================================