general protection fault, probably for non-canonical address 0xdffffc00000000b4: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000005a0-0x00000000000005a7] CPU: 1 PID: 16217 Comm: syz-executor.4 Not tainted 5.18.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bdev_get_queue include/linux/blkdev.h:886 [inline] RIP: 0010:bio_poll+0x50/0x290 block/blk-core.c:941 Code: 49 8d 5c 24 08 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 df e7 c4 fd bd a0 05 00 00 48 03 2b 48 89 e8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 ef e8 c1 e7 c4 fd 48 8b 6d 00 49 8d 5c RSP: 0018:ffffc900145ef5f0 EFLAGS: 00010206 RAX: 00000000000000b4 RBX: ffff88801c9a0508 RCX: 0000000000040000 RDX: ffffc9000b901000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 00000000000005a0 R08: dffffc0000000000 R09: ffffed100fb14b14 R10: ffffed100fb14b14 R11: 1ffff1100fb14b13 R12: ffff88801c9a0500 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f6278031700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2df27000 CR3: 0000000023a81000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __iomap_dio_rw+0x1a95/0x1ea0 fs/iomap/direct-io.c:658 iomap_dio_rw+0x38/0x80 fs/iomap/direct-io.c:681 ext4_dio_write_iter fs/ext4/file.c:566 [inline] ext4_file_write_iter+0x14fc/0x1960 fs/ext4/file.c:677 do_iter_readv_writev+0x499/0x650 do_iter_write+0x1f1/0x7a0 fs/read_write.c:852 vfs_writev fs/read_write.c:925 [inline] do_pwritev+0x219/0x360 fs/read_write.c:1022 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f6276e890e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6278031168 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f6276f9bf60 RCX: 00007f6276e890e9 RDX: 0000000000000001 RSI: 0000000020000240 RDI: 0000000000000004 RBP: 00007f6276ee308d R08: 0000000000000000 R09: 0000000000000003 R10: 0000000000001400 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffefded054f R14: 00007f6278031300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:bdev_get_queue include/linux/blkdev.h:886 [inline] RIP: 0010:bio_poll+0x50/0x290 block/blk-core.c:941 Code: 49 8d 5c 24 08 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 df e7 c4 fd bd a0 05 00 00 48 03 2b 48 89 e8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 ef e8 c1 e7 c4 fd 48 8b 6d 00 49 8d 5c RSP: 0018:ffffc900145ef5f0 EFLAGS: 00010206 RAX: 00000000000000b4 RBX: ffff88801c9a0508 RCX: 0000000000040000 RDX: ffffc9000b901000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 00000000000005a0 R08: dffffc0000000000 R09: ffffed100fb14b14 R10: ffffed100fb14b14 R11: 1ffff1100fb14b13 R12: ffff88801c9a0500 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f6278031700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2df27000 CR3: 0000000023a81000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 49 8d 5c 24 08 lea 0x8(%r12),%rbx 5: 48 89 d8 mov %rbx,%rax 8: 48 c1 e8 03 shr $0x3,%rax c: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 11: 74 08 je 0x1b 13: 48 89 df mov %rbx,%rdi 16: e8 df e7 c4 fd callq 0xfdc4e7fa 1b: bd a0 05 00 00 mov $0x5a0,%ebp 20: 48 03 2b add (%rbx),%rbp 23: 48 89 e8 mov %rbp,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 ef mov %rbp,%rdi 34: e8 c1 e7 c4 fd callq 0xfdc4e7fa 39: 48 8b 6d 00 mov 0x0(%rbp),%rbp 3d: 49 rex.WB 3e: 8d .byte 0x8d 3f: 5c pop %rsp