RBP: 00007f17924de090 R08: 000000000000000a R09: 0000000000000014 R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f1791826038 R14: 00007f1791825fa0 R15: 00007ffd876d5ed8 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000015: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x00000000000000a8-0x00000000000000af] CPU: 3 UID: 0 PID: 7946 Comm: syz.4.572 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:netfs_prepare_write+0xbc/0x7b0 fs/netfs/write_issue.c:173 Code: e1 07 38 ca 7f 08 84 d2 0f 85 04 06 00 00 48 8d bb ad 00 00 00 0f b6 45 52 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 <0f> b6 14 11 48 89 f9 83 e1 07 38 ca 7f 08 84 d2 0f 85 c1 05 00 00 RSP: 0018:ffffc90005a2f5b0 EFLAGS: 00010203 RAX: 0000000000000005 RBX: 0000000000000000 RCX: 0000000000000015 RDX: dffffc0000000000 RSI: ffffffff82cb9249 RDI: 00000000000000ad RBP: ffff888023c25b20 R08: 00000000ffffffff R09: fffffbfff1dfdcfe R10: ffffffff8efee7f3 R11: 0000000000000000 R12: ffff888023c25a40 R13: ffff888023c25bf8 R14: 0000000000000000 R15: ffff888023c25b72 FS: 00007f17924de6c0(0000) GS:ffff8880d5ede000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001000 CR3: 00000000506a1000 CR4: 0000000000352ef0 Call Trace: netfs_advance_write fs/netfs/write_issue.c:298 [inline] netfs_advance_write+0x3af/0x4c0 fs/netfs/write_issue.c:278 netfs_write_folio+0xc7b/0x1890 fs/netfs/write_issue.c:493 netfs_advance_writethrough+0x262/0x4d0 fs/netfs/write_issue.c:677 netfs_perform_write+0x1604/0x25a0 fs/netfs/buffered_write.c:397 netfs_buffered_write_iter_locked+0x224/0x2c0 fs/netfs/buffered_write.c:484 netfs_file_write_iter+0x1da/0x4a0 fs/netfs/buffered_write.c:523 v9fs_file_write_iter+0x9b/0x100 fs/9p/vfs_file.c:412 do_iter_readv_writev+0x6f7/0x930 fs/read_write.c:828 vfs_writev+0x360/0xdd0 fs/read_write.c:1058 do_pwritev+0x1ac/0x270 fs/read_write.c:1154 __do_sys_pwritev2 fs/read_write.c:1212 [inline] __se_sys_pwritev2 fs/read_write.c:1203 [inline] __x64_sys_pwritev2+0xef/0x160 fs/read_write.c:1203 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f179159e0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f17924de028 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f1791825fa0 RCX: 00007f179159e0d9 RDX: 0000000000000001 RSI: 0000200000000980 RDI: 0000000000000003 RBP: 00007f17924de090 R08: 000000000000000a R09: 0000000000000014 R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000000001 R13: 00007f1791826038 R14: 00007f1791825fa0 R15: 00007ffd876d5ed8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:netfs_prepare_write+0xbc/0x7b0 fs/netfs/write_issue.c:173 Code: e1 07 38 ca 7f 08 84 d2 0f 85 04 06 00 00 48 8d bb ad 00 00 00 0f b6 45 52 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 <0f> b6 14 11 48 89 f9 83 e1 07 38 ca 7f 08 84 d2 0f 85 c1 05 00 00 RSP: 0018:ffffc90005a2f5b0 EFLAGS: 00010203 RAX: 0000000000000005 RBX: 0000000000000000 RCX: 0000000000000015 RDX: dffffc0000000000 RSI: ffffffff82cb9249 RDI: 00000000000000ad RBP: ffff888023c25b20 R08: 00000000ffffffff R09: fffffbfff1dfdcfe R10: ffffffff8efee7f3 R11: 0000000000000000 R12: ffff888023c25a40 R13: ffff888023c25bf8 R14: 0000000000000000 R15: ffff888023c25b72 FS: 00007f17924de6c0(0000) GS:ffff8880d5cde000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005559629db170 CR3: 00000000506a1000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: e1 07 loope 0x9 2: 38 ca cmp %cl,%dl 4: 7f 08 jg 0xe 6: 84 d2 test %dl,%dl 8: 0f 85 04 06 00 00 jne 0x612 e: 48 8d bb ad 00 00 00 lea 0xad(%rbx),%rdi 15: 0f b6 45 52 movzbl 0x52(%rbp),%eax 19: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 20: fc ff df 23: 48 89 f9 mov %rdi,%rcx 26: 48 c1 e9 03 shr $0x3,%rcx * 2a: 0f b6 14 11 movzbl (%rcx,%rdx,1),%edx <-- trapping instruction 2e: 48 89 f9 mov %rdi,%rcx 31: 83 e1 07 and $0x7,%ecx 34: 38 ca cmp %cl,%dl 36: 7f 08 jg 0x40 38: 84 d2 test %dl,%dl 3a: 0f 85 c1 05 00 00 jne 0x601