------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 30402 Comm: syz-executor.5 Not tainted 5.1.0-rc7+ #96 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__phys_addr+0xb3/0x120 arch/x86/mm/physaddr.c:27 Code: 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 16 c3 3d 00 48 85 db 75 0f e8 6c c1 3d 00 4c 89 e0 5b 41 5c 41 5d 5d c3 e8 5d c1 3d 00 <0f> 0b e8 56 c1 3d 00 48 c7 c0 10 90 87 88 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8880596afd48 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc9001087c000 RDX: 0000000000040000 RSI: ffffffff8132cb53 RDI: 0000000000000006 RBP: ffff8880596afd60 R08: ffff8880a95d65c0 R09: ffffed101500d691 R10: ffffed101500d690 R11: ffff8880a806b487 R12: 0000778000000000 R13: 0000000080000000 R14: ffff8880a806b2c0 R15: fffffffffffffff4 FS: 00007f5e9d227700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000a5048d CR3: 000000008cb74000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:686 [inline] io_mem_free+0x23/0x150 fs/io_uring.c:2324 io_ring_ctx_free fs/io_uring.c:2558 [inline] io_ring_ctx_wait_and_kill+0x290/0x510 fs/io_uring.c:2603 io_uring_create fs/io_uring.c:2890 [inline] io_uring_setup+0x1305/0x1ac0 fs/io_uring.c:2916 __do_sys_io_uring_setup fs/io_uring.c:2929 [inline] __se_sys_io_uring_setup fs/io_uring.c:2926 [inline] __x64_sys_io_uring_setup+0x54/0x80 fs/io_uring.c:2926 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458da9 Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f5e9d226c78 EFLAGS: 00000246 ORIG_RAX: 00000000000001a9 RAX: ffffffffffffffda RBX: 00007f5e9d226c90 RCX: 0000000000458da9 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 00000000000000b5 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5e9d2276d4 R13: 00000000004bffde R14: 00000000004d2318 R15: 0000000000000004 Modules linked in: ---[ end trace 31934801ee1cd915 ]--- RIP: 0010:__phys_addr+0xb3/0x120 arch/x86/mm/physaddr.c:27 Code: 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 16 c3 3d 00 48 85 db 75 0f e8 6c c1 3d 00 4c 89 e0 5b 41 5c 41 5d 5d c3 e8 5d c1 3d 00 <0f> 0b e8 56 c1 3d 00 48 c7 c0 10 90 87 88 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8880596afd48 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc9001087c000 RDX: 0000000000040000 RSI: ffffffff8132cb53 RDI: 0000000000000006 RBP: ffff8880596afd60 R08: ffff8880a95d65c0 R09: ffffed101500d691 R10: ffffed101500d690 R11: ffff8880a806b487 R12: 0000778000000000 R13: 0000000080000000 R14: ffff8880a806b2c0 R15: fffffffffffffff4 FS: 00007f5e9d227700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31e21000 CR3: 000000008cb74000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400