Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 UID: 0 PID: 9964 Comm: syz.6.869 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:_compound_head include/linux/page-flags.h:284 [inline] RIP: 0010:io_check_coalesce_buffer+0x354/0xb60 io_uring/rsrc.c:746 Code: f7 e8 e0 64 63 fd 4c 89 74 24 28 48 8b 44 24 18 4c 8b 74 d8 08 49 8d 6e 08 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 ef e8 ae 64 63 fd 48 8b 6d 00 48 89 ee 48 RSP: 0018:ffffc900043778d8 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 00000000000001ff RCX: dffffc0000000000 RDX: ffffc9000db91000 RSI: 0000000000003f03 RDI: 0000000000003f04 RBP: 0000000000000008 R08: ffffea00011a0007 R09: 1ffffd4000234000 R10: dffffc0000000000 R11: fffff94000234001 R12: ffff888029220ff8 R13: 0000000000000200 R14: 0000000000000000 R15: ffffea00011a0000 FS: 00007fb9c41f66c0(0000) GS:ffff888125afa000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b34a08ff8 CR3: 000000007b63a000 CR4: 00000000003526f0 Call Trace: io_sqe_buffer_register+0x1ef/0x20a0 io_uring/rsrc.c:807 __io_sqe_buffers_update io_uring/rsrc.c:322 [inline] __io_register_rsrc_update+0x55e/0x11b0 io_uring/rsrc.c:360 io_register_rsrc_update+0x196/0x1a0 io_uring/rsrc.c:391 __io_uring_register io_uring/register.c:736 [inline] __do_sys_io_uring_register io_uring/register.c:926 [inline] __se_sys_io_uring_register+0x795/0x11b0 io_uring/register.c:903 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb9c5f8ebe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb9c41f6038 EFLAGS: 00000246 ORIG_RAX: 00000000000001ab RAX: ffffffffffffffda RBX: 00007fb9c61c6090 RCX: 00007fb9c5f8ebe9 RDX: 0000200000000600 RSI: 0000000000000010 RDI: 000000000000000a RBP: 00007fb9c6011e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000020 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb9c61c6128 R14: 00007fb9c61c6090 R15: 00007ffceede6298 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:_compound_head include/linux/page-flags.h:284 [inline] RIP: 0010:io_check_coalesce_buffer+0x354/0xb60 io_uring/rsrc.c:746 Code: f7 e8 e0 64 63 fd 4c 89 74 24 28 48 8b 44 24 18 4c 8b 74 d8 08 49 8d 6e 08 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 ef e8 ae 64 63 fd 48 8b 6d 00 48 89 ee 48 RSP: 0018:ffffc900043778d8 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 00000000000001ff RCX: dffffc0000000000 RDX: ffffc9000db91000 RSI: 0000000000003f03 RDI: 0000000000003f04 RBP: 0000000000000008 R08: ffffea00011a0007 R09: 1ffffd4000234000 R10: dffffc0000000000 R11: fffff94000234001 R12: ffff888029220ff8 R13: 0000000000000200 R14: 0000000000000000 R15: ffffea00011a0000 FS: 00007fb9c41f66c0(0000) GS:ffff888125afa000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000005d030 CR3: 000000007b63a000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: f7 e8 imul %eax 2: e0 64 loopne 0x68 4: 63 fd movsxd %ebp,%edi 6: 4c 89 74 24 28 mov %r14,0x28(%rsp) b: 48 8b 44 24 18 mov 0x18(%rsp),%rax 10: 4c 8b 74 d8 08 mov 0x8(%rax,%rbx,8),%r14 15: 49 8d 6e 08 lea 0x8(%r14),%rbp 19: 48 89 e8 mov %rbp,%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 ef mov %rbp,%rdi 33: e8 ae 64 63 fd call 0xfd6364e6 38: 48 8b 6d 00 mov 0x0(%rbp),%rbp 3c: 48 89 ee mov %rbp,%rsi 3f: 48 rex.W