general protection fault, probably for non-canonical address 0xdffffc0000000102: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000810-0x0000000000000817] CPU: 1 PID: 28049 Comm: syz-executor.5 Not tainted 5.14.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:io_register_iowq_max_workers fs/io_uring.c:10341 [inline] RIP: 0010:__io_uring_register fs/io_uring.c:10546 [inline] RIP: 0010:__do_sys_io_uring_register+0xb73/0x2380 fs/io_uring.c:10581 Code: 03 80 3c 02 00 0f 85 8e 16 00 00 48 8b 9b a8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 10 08 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 5b 16 00 00 48 8b 9b 10 08 00 00 48 85 db 0f 84 RSP: 0018:ffffc90008c4fdf0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000102 RSI: 0000000000000004 RDI: 0000000000000810 RBP: ffff88801c1b6780 R08: 0000000000000000 R09: ffff888045151c13 R10: ffffed1008a2a382 R11: 0000000000000001 R12: ffff88802c70c000 R13: ffff888045151c08 R14: 1ffff92001189fc9 R15: ffff88802c70c040 FS: 00007f5382a2f700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000044 CR3: 0000000013f90000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665f9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5382a2f188 EFLAGS: 00000246 ORIG_RAX: 00000000000001ab RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665f9 RDX: 0000000020004000 RSI: 0000000000000013 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffff62140af R14: 00007f5382a2f300 R15: 0000000000022000 Modules linked in: ---[ end trace c0f0b844abd92675 ]--- RIP: 0010:io_register_iowq_max_workers fs/io_uring.c:10341 [inline] RIP: 0010:__io_uring_register fs/io_uring.c:10546 [inline] RIP: 0010:__do_sys_io_uring_register+0xb73/0x2380 fs/io_uring.c:10581 Code: 03 80 3c 02 00 0f 85 8e 16 00 00 48 8b 9b a8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 10 08 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 5b 16 00 00 48 8b 9b 10 08 00 00 48 85 db 0f 84 RSP: 0018:ffffc90008c4fdf0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000102 RSI: 0000000000000004 RDI: 0000000000000810 RBP: ffff88801c1b6780 R08: 0000000000000000 R09: ffff888045151c13 R10: ffffed1008a2a382 R11: 0000000000000001 R12: ffff88802c70c000 R13: ffff888045151c08 R14: 1ffff92001189fc9 R15: ffff88802c70c040 FS: 00007f5382a2f700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffcb5e8720 CR3: 0000000013f90000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 03 80 3c 02 00 0f add 0xf00023c(%rax),%eax 6: 85 8e 16 00 00 48 test %ecx,0x48000016(%rsi) c: 8b 9b a8 00 00 00 mov 0xa8(%rbx),%ebx 12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 19: fc ff df 1c: 48 8d bb 10 08 00 00 lea 0x810(%rbx),%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 5b 16 00 00 jne 0x168f 34: 48 8b 9b 10 08 00 00 mov 0x810(%rbx),%rbx 3b: 48 85 db test %rbx,%rbx 3e: 0f .byte 0xf 3f: 84 .byte 0x84