general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 10247 Comm: syz-executor.5 Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 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:ffffc90005977760 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc900059777f0 RCX: ffffc90004d1a000 RDX: 0000000000000001 RSI: ffffffff8446e72b RDI: 0000000000000008 RBP: ffff888031f91100 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: ffff88801cf42168 R12: ffff88801cf42140 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0063) knlGS:00000000f7f13b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f72dca24 CR3: 00000000406e2000 CR4: 00000000003506f0 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] aio_read+0x318/0x4d0 fs/aio.c:1597 __io_submit_one fs/aio.c:1998 [inline] io_submit_one+0x1480/0x1de0 fs/aio.c:2047 __do_compat_sys_io_submit fs/aio.c:2148 [inline] __se_compat_sys_io_submit fs/aio.c:2118 [inline] __ia32_compat_sys_io_submit+0x1d4/0x3c0 fs/aio.c:2118 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0x79/0x110 arch/x86/entry/common.c:321 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:346 entry_SYSENTER_compat_after_hwframe+0x70/0x7a RIP: 0023:0xf7f18579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f7f135ac EFLAGS: 00000292 ORIG_RAX: 00000000000000f8 RAX: ffffffffffffffda RBX: 00000000f7ef2000 RCX: 00000000000000ca RDX: 00000000200000c0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 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:ffffc90005977760 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc900059777f0 RCX: ffffc90004d1a000 RDX: 0000000000000001 RSI: ffffffff8446e72b RDI: 0000000000000008 RBP: ffff888031f91100 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: ffff88801cf42168 R12: ffff88801cf42140 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0063) knlGS:00000000f7f13b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f72dca24 CR3: 00000000406e2000 CR4: 00000000003506f0 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