general protection fault, probably for non-canonical address 0xdffffc000000011d: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000008e8-0x00000000000008ef] CPU: 1 PID: 13188 Comm: syz-executor.5 Not tainted 6.5.0-syzkaller-11329-g708283abf896 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:io_sqpoll_wq_cpu_affinity+0x8c/0xe0 io_uring/sqpoll.c:433 Code: 48 c1 ea 03 80 3c 02 00 75 64 4c 8b a3 a8 00 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d bc 24 e8 08 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 37 49 8b bc 24 e8 08 00 00 48 89 ee e8 8e ac 02 00 RSP: 0018:ffffc90005667de0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888028e52800 RCX: 0000000000000000 RDX: 000000000000011d RSI: ffffffff841de22e RDI: 00000000000008e8 RBP: ffffc90005667ea8 R08: 0000000000000000 R09: ffffed10051ca502 R10: ffffc90005667dc8 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000002 R14: 0000000000000011 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9900000(0063) knlGS:00000000f7fbdb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020e5c000 CR3: 0000000028a43000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __io_register_iowq_aff io_uring/io_uring.c:4207 [inline] __io_register_iowq_aff+0xa7/0xe0 io_uring/io_uring.c:4198 io_register_iowq_aff io_uring/io_uring.c:4240 [inline] __io_uring_register io_uring/io_uring.c:4447 [inline] __do_sys_io_uring_register+0xf58/0x2250 io_uring/io_uring.c:4539 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x61/0xe0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7fe3579 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:00000000f7fbd5ac EFLAGS: 00000292 ORIG_RAX: 00000000000001ab RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000000011 RDX: 00000000200000c0 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:io_sqpoll_wq_cpu_affinity+0x8c/0xe0 io_uring/sqpoll.c:433 Code: 48 c1 ea 03 80 3c 02 00 75 64 4c 8b a3 a8 00 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d bc 24 e8 08 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 37 49 8b bc 24 e8 08 00 00 48 89 ee e8 8e ac 02 00 RSP: 0018:ffffc90005667de0 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff888028e52800 RCX: 0000000000000000 RDX: 000000000000011d RSI: ffffffff841de22e RDI: 00000000000008e8 RBP: ffffc90005667ea8 R08: 0000000000000000 R09: ffffed10051ca502 R10: ffffc90005667dc8 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000002 R14: 0000000000000011 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9900000(0063) knlGS:00000000f7fbdb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000030623000 CR3: 0000000028a43000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 75 64 jne 0x6e a: 4c 8b a3 a8 00 00 00 mov 0xa8(%rbx),%r12 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 49 8d bc 24 e8 08 00 lea 0x8e8(%r12),%rdi 22: 00 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: 75 37 jne 0x67 30: 49 8b bc 24 e8 08 00 mov 0x8e8(%r12),%rdi 37: 00 38: 48 89 ee mov %rbp,%rsi 3b: e8 8e ac 02 00 call 0x2acce