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: 31998 Comm: syz-executor.4 Not tainted 6.5.0-syzkaller-09276-g99d99825fc07 #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 7e ac 02 00 RSP: 0018:ffffc9001539fe00 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: ffff888097a04000 RCX: 0000000000000000 RDX: 000000000000011d RSI: ffffffff841d552e RDI: 00000000000008e8 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1012f40802 R10: ffffc9001539fde8 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000012 R14: 0000000000000012 R15: 0000000000000000 FS: 00007f5b963f06c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2fb22000 CR3: 00000000238c7000 CR4: 0000000000350ee0 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_unregister_iowq_aff io_uring/io_uring.c:4247 [inline] __io_uring_register io_uring/io_uring.c:4453 [inline] __do_sys_io_uring_register+0x1349/0x2250 io_uring/io_uring.c:4539 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5b9567cae9 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:00007f5b963f00c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001ab RAX: ffffffffffffffda RBX: 00007f5b9579c120 RCX: 00007f5b9567cae9 RDX: 0000000000000000 RSI: 0000000000000012 RDI: 0000000000000003 RBP: 00007f5b956c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f5b9579c120 R15: 00007ffe4370b4f8 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 7e ac 02 00 RSP: 0018:ffffc9001539fe00 EFLAGS: 00010216 RAX: dffffc0000000000 RBX: ffff888097a04000 RCX: 0000000000000000 RDX: 000000000000011d RSI: ffffffff841d552e RDI: 00000000000008e8 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1012f40802 R10: ffffc9001539fde8 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000012 R14: 0000000000000012 R15: 0000000000000000 FS: 00007f5b963f06c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5970575198 CR3: 00000000238c7000 CR4: 0000000000350ef0 ---------------- 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 7e ac 02 00 call 0x2acbe