general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 3 PID: 8948 Comm: syz-executor.1 Not tainted 6.7.0-syzkaller-10085-g1b1934dbbdcf #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:_compound_head include/linux/page-flags.h:247 [inline] RIP: 0010:bio_first_folio+0xcb/0x5c0 include/linux/bio.h:289 Code: 48 89 ea 48 c1 ea 03 80 3c 02 00 0f 85 76 04 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 6d 00 49 8d 7d 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 49 04 00 00 4d 8b 7d 08 31 ff 4d 89 fc 41 83 e4 RSP: 0018:ffffc90025367a00 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc90025367a90 RCX: ffffc9000664a000 RDX: 0000000000000001 RSI: ffffffff8446674b RDI: 0000000000000008 RBP: ffff88805ac02200 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88801e0152c0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f39691926c0(0000) GS:ffff88806b900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f86f36d66e4 CR3: 000000010779f000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bio_check_pages_dirty+0x98/0x4b0 block/bio.c:1527 blkdev_bio_end_io+0x2a9/0x4c0 block/fops.c:155 bio_endio+0x59c/0x6b0 block/bio.c:1608 __blkdev_direct_IO block/fops.c:213 [inline] blkdev_direct_IO.part.0+0x1455/0x1830 block/fops.c:379 blkdev_direct_IO block/fops.c:370 [inline] blkdev_read_iter+0x29d/0x510 block/fops.c:747 call_read_iter include/linux/fs.h:2079 [inline] new_sync_read fs/read_write.c:395 [inline] vfs_read+0x4d4/0x8f0 fs/read_write.c:476 ksys_read+0x12f/0x250 fs/read_write.c:619 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f396847cda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f39691920c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f39685ac120 RCX: 00007f396847cda9 RDX: 00000000ffffffae RSI: 0000000020002600 RDI: 0000000000000005 RBP: 00007f39684c947a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f39685ac120 R15: 00007fffbc90cc08 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:_compound_head include/linux/page-flags.h:247 [inline] RIP: 0010:bio_first_folio+0xcb/0x5c0 include/linux/bio.h:289 Code: 48 89 ea 48 c1 ea 03 80 3c 02 00 0f 85 76 04 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 6d 00 49 8d 7d 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 49 04 00 00 4d 8b 7d 08 31 ff 4d 89 fc 41 83 e4 RSP: 0018:ffffc90025367a00 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc90025367a90 RCX: ffffc9000664a000 RDX: 0000000000000001 RSI: ffffffff8446674b RDI: 0000000000000008 RBP: ffff88805ac02200 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88801e0152c0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f39691926c0(0000) GS:ffff88806b700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f70b6a32a64 CR3: 000000010779f000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 89 ea mov %rbp,%rdx 3: 48 c1 ea 03 shr $0x3,%rdx 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 0f 85 76 04 00 00 jne 0x487 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 4c 8b 6d 00 mov 0x0(%rbp),%r13 1f: 49 8d 7d 08 lea 0x8(%r13),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 49 04 00 00 jne 0x47d 34: 4d 8b 7d 08 mov 0x8(%r13),%r15 38: 31 ff xor %edi,%edi 3a: 4d 89 fc mov %r15,%r12 3d: 41 rex.B 3e: 83 .byte 0x83 3f: e4 .byte 0xe4