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: 12673 Comm: syz-executor.4 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:ffffc900046377e8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc90004637888 RCX: ffffffff844664dd RDX: 0000000000000001 RSI: ffffffff844664eb RDI: 0000000000000008 RBP: ffff88802ec4b300 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: ffff888028f853e8 R12: ffff888028f853c0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fbffafff6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbffaf9bf00 CR3: 000000007b437000 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] do_iter_readv_writev+0x21e/0x3c0 fs/read_write.c:741 vfs_writev+0x36b/0xdb0 fs/read_write.c:971 do_pwritev+0x1af/0x260 fs/read_write.c:1072 __do_sys_pwritev2 fs/read_write.c:1131 [inline] __se_sys_pwritev2 fs/read_write.c:1122 [inline] __x64_sys_pwritev2+0xef/0x150 fs/read_write.c:1122 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:0x7fbffbc7cda9 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:00007fbffafff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007fbffbdabf80 RCX: 00007fbffbc7cda9 RDX: 0000000000000002 RSI: 0000000020000240 RDI: 0000000000000004 RBP: 00007fbffbcc947a R08: 0000000000000408 R09: 0000000000000002 R10: 0000000000001400 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fbffbdabf80 R15: 00007fff5291e6c8 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:ffffc900046377e8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffffc90004637888 RCX: ffffffff844664dd RDX: 0000000000000001 RSI: ffffffff844664eb RDI: 0000000000000008 RBP: ffff88802ec4b300 R08: 0000000000000003 R09: 0000000000000000 R10: 0000000000000000 R11: ffff888028f853e8 R12: ffff888028f853c0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fbffafff6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbffaf9bf00 CR3: 000000007b437000 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