general protection fault, probably for non-canonical address 0xdffffc0000000012: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000090-0x0000000000000097] CPU: 1 PID: 11098 Comm: syz-executor.4 Not tainted 6.0.0-rc1-next-20220819-syzkaller #0 syz-executor.4[11098] cmdline: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:vma_is_shmem+0x21/0x40 mm/shmem.c:254 Code: 73 02 e9 20 fc ff ff 66 90 53 48 89 fb e8 d7 02 cf ff 48 8d bb 90 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 10 48 81 bb 90 00 00 00 20 90 f7 89 5b 0f 94 c0 c3 RSP: 0018:ffffc900158d7b68 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000d236000 RDX: 0000000000000012 RSI: ffffffff81ad1279 RDI: 0000000000000090 RBP: ffff88803c483360 R08: 0000000000000006 R09: 000000000000066c R10: 0000000000008001 R11: 0000000000000000 R12: 000000000000066c R13: ffff88803c480000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fe4265d2700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6517f9d0b0 CR3: 0000000035bdf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: io_pin_pages+0x25f/0x430 io_uring/rsrc.c:1207 io_sqe_buffer_register+0x14e/0x13b0 io_uring/rsrc.c:1254 io_sqe_buffers_register.cold+0x351/0x445 io_uring/rsrc.c:1346 __io_uring_register io_uring/io_uring.c:3711 [inline] __do_sys_io_uring_register+0x96d/0x1110 io_uring/io_uring.c:3878 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+0x63/0xcd RIP: 0033:0x7fe425489279 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe4265d2168 EFLAGS: 00000246 ORIG_RAX: 00000000000001ab RAX: ffffffffffffffda RBX: 00007fe42559bf80 RCX: 00007fe425489279 RDX: 0000000020000080 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fe4254e3189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff6437623f R14: 00007fe4265d2300 R15: 0000000000022000 Modules linked in: ------------[ cut here ]------------ raw_local_irq_restore() called with IRQs enabled WARNING: CPU: 1 PID: 11098 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10 Modules linked in: CPU: 0 PID: 11098 Comm: syz-executor.4 Tainted: G D 6.0.0-rc1-next-20220819-syzkaller #0 syz-executor.4[11098] cmdline: Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:warn_bogus_irq_restore+0x1d/0x20 kernel/locking/irqflag-debug.c:10 Code: ba ff cc cc cc cc cc cc cc cc cc cc cc 80 3d 6e 95 49 04 00 74 01 c3 48 c7 c7 a0 a3 ec 89 c6 05 5d 95 49 04 01 e8 ef ed ba ff <0f> 0b c3 44 8b 05 d5 cf 5e 04 55 53 65 48 8b 1c 25 80 6f 02 00 45 RSP: 0018:ffffc900158d7a00 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000246 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff816203c8 RDI: fffff52002b1af32 RBP: ffffc900158d7ab8 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 61636f6c5f776172 R12: 000000000000000b R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fe4265d2700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff64375d58 CR3: 0000000035bdf000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: oops_end+0xae/0xf0 arch/x86/kernel/dumpstack.c:362 __exc_general_protection arch/x86/kernel/traps.c:774 [inline] exc_general_protection+0x121/0x210 arch/x86/kernel/traps.c:719 asm_exc_general_protection+0x22/0x30 arch/x86/include/asm/idtentry.h:564 RIP: 0010:vma_is_shmem+0x21/0x40 mm/shmem.c:254 Code: 73 02 e9 20 fc ff ff 66 90 53 48 89 fb e8 d7 02 cf ff 48 8d bb 90 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 10 48 81 bb 90 00 00 00 20 90 f7 89 5b 0f 94 c0 c3 RSP: 0018:ffffc900158d7b68 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000d236000 RDX: 0000000000000012 RSI: ffffffff81ad1279 RDI: 0000000000000090 RBP: ffff88803c483360 R08: 0000000000000006 R09: 000000000000066c R10: 0000000000008001 R11: 0000000000000000 R12: 000000000000066c R13: ffff88803c480000 R14: dffffc0000000000 R15: 0000000000000000 io_pin_pages+0x25f/0x430 io_uring/rsrc.c:1207 io_sqe_buffer_register+0x14e/0x13b0 io_uring/rsrc.c:1254 io_sqe_buffers_register.cold+0x351/0x445 io_uring/rsrc.c:1346 __io_uring_register io_uring/io_uring.c:3711 [inline] __do_sys_io_uring_register+0x96d/0x1110 io_uring/io_uring.c:3878 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+0x63/0xcd RIP: 0033:0x7fe425489279 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe4265d2168 EFLAGS: 00000246 ORIG_RAX: 00000000000001ab RAX: ffffffffffffffda RBX: 00007fe42559bf80 RCX: 00007fe425489279 RDX: 0000000020000080 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fe4254e3189 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff6437623f R14: 00007fe4265d2300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 73 02 jae 0x4 2: e9 20 fc ff ff jmpq 0xfffffc27 7: 66 90 xchg %ax,%ax 9: 53 push %rbx a: 48 89 fb mov %rdi,%rbx d: e8 d7 02 cf ff callq 0xffcf02e9 12: 48 8d bb 90 00 00 00 lea 0x90(%rbx),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 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 10 jne 0x40 30: 48 81 bb 90 00 00 00 cmpq $0xffffffff89f79020,0x90(%rbx) 37: 20 90 f7 89 3b: 5b pop %rbx 3c: 0f 94 c0 sete %al 3f: c3 retq