general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] CPU: 1 PID: 187040 Comm: syz-executor.1 Not tainted 5.17.0-next-20220401 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:io_poll_check_events+0x1e3/0x7a0 Code: 68 48 89 d8 48 c7 44 24 60 00 00 00 00 48 c1 e8 03 42 80 3c 28 00 0f 85 55 05 00 00 48 8b 2b 48 8d 7d 28 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 32 05 00 00 48 8b 45 28 48 8d 78 48 48 89 fa RSP: 0018:ffff888015d77a10 EFLAGS: 00010216 RAX: 0000000000000005 RBX: ffff88806960f500 RCX: ffffc9000c400000 RDX: 0000000000040000 RSI: ffffffff8191f1ea RDI: 0000000000000028 RBP: 0000000000000000 R08: 0000000000000000 R09: ffff88806960f587 R10: ffffffff8191f3b6 R11: 0000000000000001 R12: 0000000000000002 R13: dffffc0000000000 R14: ffff88806960f554 R15: ffff88806960f584 FS: 00007fa020f65700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e522000 CR3: 000000003da6c000 CR4: 0000000000350ee0 Call Trace: io_apoll_task_func+0x40/0x230 tctx_task_work+0x1a3/0x1430 task_work_run+0xe2/0x1a0 get_signal+0x1cd/0x2350 arch_do_signal_or_restart+0x88/0x1a40 exit_to_user_mode_prepare+0x131/0x1a0 syscall_exit_to_user_mode+0x19/0x50 do_syscall_64+0x48/0x90 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fa0239efb19 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:00007fa020f65188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000003 RBX: 00007fa023b02f60 RCX: 00007fa0239efb19 RDX: 0000000000000000 RSI: 0000000000100001 RDI: 0000000000000006 RBP: 00007fa023a49f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeb94a1cff R14: 00007fa020f65300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:io_poll_check_events+0x1e3/0x7a0 Code: 68 48 89 d8 48 c7 44 24 60 00 00 00 00 48 c1 e8 03 42 80 3c 28 00 0f 85 55 05 00 00 48 8b 2b 48 8d 7d 28 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 32 05 00 00 48 8b 45 28 48 8d 78 48 48 89 fa RSP: 0018:ffff888015d77a10 EFLAGS: 00010216 RAX: 0000000000000005 RBX: ffff88806960f500 RCX: ffffc9000c400000 RDX: 0000000000040000 RSI: ffffffff8191f1ea RDI: 0000000000000028 RBP: 0000000000000000 R08: 0000000000000000 R09: ffff88806960f587 R10: ffffffff8191f3b6 R11: 0000000000000001 R12: 0000000000000002 R13: dffffc0000000000 R14: ffff88806960f554 R15: ffff88806960f584 FS: 00007fa020f65700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e522000 CR3: 000000003da6c000 CR4: 0000000000350ee0 ---------------- Code disassembly (best guess): 0: 68 48 89 d8 48 pushq $0x48d88948 5: c7 44 24 60 00 00 00 movl $0x0,0x60(%rsp) c: 00 d: 48 c1 e8 03 shr $0x3,%rax 11: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) 16: 0f 85 55 05 00 00 jne 0x571 1c: 48 8b 2b mov (%rbx),%rbp 1f: 48 8d 7d 28 lea 0x28(%rbp),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 0f 85 32 05 00 00 jne 0x567 35: 48 8b 45 28 mov 0x28(%rbp),%rax 39: 48 8d 78 48 lea 0x48(%rax),%rdi 3d: 48 89 fa mov %rdi,%rdx