================================================================== BUG: KASAN: null-ptr-deref in fuse_copy_one fs/fuse/dev.c:1065 [inline] BUG: KASAN: null-ptr-deref in fuse_copy_args+0x2d8/0x9c0 fs/fuse/dev.c:1083 Write of size 10 at addr 0000000000000000 by task syz.1.116/6338 CPU: 1 UID: 0 PID: 6338 Comm: syz.1.116 Not tainted 6.13.0-rc5-syzkaller-00006-g56e6a3499e14 #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+0x241/0x360 lib/dump_stack.c:120 print_report+0xe8/0x550 mm/kasan/report.c:492 kasan_report+0x143/0x180 mm/kasan/report.c:602 kasan_check_range+0x282/0x290 mm/kasan/generic.c:189 __asan_memcpy+0x40/0x70 mm/kasan/shadow.c:106 fuse_copy_one fs/fuse/dev.c:1065 [inline] fuse_copy_args+0x2d8/0x9c0 fs/fuse/dev.c:1083 fuse_dev_do_write+0x2268/0x5e00 fs/fuse/dev.c:2052 fuse_dev_write+0x148/0x1d0 fs/fuse/dev.c:2087 new_sync_write fs/read_write.c:586 [inline] vfs_write+0xaeb/0xd30 fs/read_write.c:679 ksys_write+0x18f/0x2b0 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f64b8d847df Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007f64b9beffb0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000002000fdc0 RCX: 00007f64b8d847df RDX: 000000000000001a RSI: 0000000020006680 RDI: 0000000000000003 RBP: 0000000000000050 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000020006b80 R14: 00007f64b8f76080 R15: 00007fff894c4208 ==================================================================