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: 19802 Comm: syz-executor.0 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+0xd4/0x640 include/linux/bio.h:289 Code: 7c 05 00 00 74 08 4c 89 f7 e8 68 f9 80 fd 49 8b 06 48 89 04 24 48 8d 58 08 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 3e f9 80 fd 48 8b 1b 48 89 de 48 83 RSP: 0018:ffffc900046d7480 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88807c4232f8 R08: ffffffff846a86a0 R09: 0000000000000000 R10: ffffc900046d7560 R11: fffff520008daeb2 R12: 1ffff920008daea8 R13: 1ffff11006d99000 R14: ffff888036cc8000 R15: 0000000000000000 FS: 00007f94d234a6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f94d2328f00 CR3: 000000002c98a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __bio_release_pages+0xa9/0x2a0 block/bio.c:1153 bio_release_pages include/linux/bio.h:508 [inline] blkdev_bio_end_io+0x355/0x480 block/fops.c:157 __blkdev_direct_IO+0xe3a/0x10f0 block/fops.c:213 blkdev_direct_IO+0xf30/0x1320 block/fops.c:379 blkdev_direct_write+0x7d/0x140 block/fops.c:648 blkdev_write_iter+0x401/0x5a0 block/fops.c:706 do_iter_readv_writev+0x330/0x4a0 vfs_writev+0x395/0xba0 fs/read_write.c:971 do_pwritev fs/read_write.c:1072 [inline] __do_sys_pwritev2 fs/read_write.c:1131 [inline] __se_sys_pwritev2+0x1ca/0x2d0 fs/read_write.c:1122 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f94d167cda9 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:00007f94d234a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f94d17ac120 RCX: 00007f94d167cda9 RDX: 0000000000000002 RSI: 0000000020000240 RDI: 0000000000000007 RBP: 00007f94d16c947a R08: 0000000000000408 R09: 0000000000000002 R10: 0000000000001400 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f94d17ac120 R15: 00007ffe1ee03378 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:_compound_head include/linux/page-flags.h:247 [inline] RIP: 0010:bio_first_folio+0xd4/0x640 include/linux/bio.h:289 Code: 7c 05 00 00 74 08 4c 89 f7 e8 68 f9 80 fd 49 8b 06 48 89 04 24 48 8d 58 08 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 3e f9 80 fd 48 8b 1b 48 89 de 48 83 RSP: 0018:ffffc900046d7480 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88807c4232f8 R08: ffffffff846a86a0 R09: 0000000000000000 R10: ffffc900046d7560 R11: fffff520008daeb2 R12: 1ffff920008daea8 R13: 1ffff11006d99000 R14: ffff888036cc8000 R15: 0000000000000000 FS: 00007f94d234a6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3c02bad988 CR3: 000000002c98a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 7c 05 jl 0x7 2: 00 00 add %al,(%rax) 4: 74 08 je 0xe 6: 4c 89 f7 mov %r14,%rdi 9: e8 68 f9 80 fd call 0xfd80f976 e: 49 8b 06 mov (%r14),%rax 11: 48 89 04 24 mov %rax,(%rsp) 15: 48 8d 58 08 lea 0x8(%rax),%rbx 19: 48 89 d8 mov %rbx,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 48 89 df mov %rbx,%rdi 33: e8 3e f9 80 fd call 0xfd80f976 38: 48 8b 1b mov (%rbx),%rbx 3b: 48 89 de mov %rbx,%rsi 3e: 48 rex.W 3f: 83 .byte 0x83