general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 29481 Comm: syz-executor.2 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:ffffc90016c7f730 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc90016c7f7d0 RCX: ffffc900117c0000 RDX: 0000000000000001 RSI: ffffffff8446e72b RDI: 0000000000000008 RBP: ffff88803039e600 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: ffff888087c38168 R12: ffff888087c38140 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0063) knlGS:00000000f7f8fb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f735863c CR3: 000000002c949000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bio_release_pages+0x9d/0x4b0 block/bio.c:1153 bio_release_pages include/linux/bio.h:508 [inline] blkdev_bio_end_io+0x32b/0x4c0 block/fops.c:157 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_direct_write block/fops.c:648 [inline] blkdev_write_iter+0x605/0xc80 block/fops.c:706 call_write_iter include/linux/fs.h:2085 [inline] aio_write+0x3ba/0x8c0 fs/aio.c:1628 __io_submit_one fs/aio.c:2000 [inline] io_submit_one+0x11af/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:0xf7f94579 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:00000000f7f8f5ac EFLAGS: 00000292 ORIG_RAX: 00000000000000f8 RAX: ffffffffffffffda RBX: 00000000f7f6e000 RCX: 0000000000000002 RDX: 00000000200001c0 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:ffffc90016c7f730 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc90016c7f7d0 RCX: ffffc900117c0000 RDX: 0000000000000001 RSI: ffffffff8446e72b RDI: 0000000000000008 RBP: ffff88803039e600 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: ffff888087c38168 R12: ffff888087c38140 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0063) knlGS:00000000f7f8fb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f7355170 CR3: 000000002c949000 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