------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 1931 Comm: syz-executor.0 Not tainted 5.9.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:28 Code: bf fe 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 10 6b 40 00 48 85 db 75 0d e8 86 6e 40 00 4c 89 e0 5b 5d 41 5c c3 e8 79 6e 40 00 <0f> 0b e8 72 6e 40 00 48 c7 c0 10 50 c9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc9000b937c38 EFLAGS: 00010212 RAX: 0000000000002bce RBX: 0220002200022000 RCX: ffffc90010e0a000 RDX: 0000000000040000 RSI: ffffffff8135d147 RDI: 0000000000000006 RBP: 0220002280022000 R08: 0000000000000001 R09: 0000000000000001 R10: 0220002280022000 R11: 0000000000000000 R12: 022077a200022000 R13: ffffc9000b937ca0 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007fb3df0da700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e522000 CR3: 0000000043055000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:850 [inline] qlink_to_cache mm/kasan/quarantine.c:128 [inline] qlist_free_all+0xd9/0x170 mm/kasan/quarantine.c:165 quarantine_reduce+0x17e/0x200 mm/kasan/quarantine.c:261 __kasan_kmalloc.constprop.0+0x9e/0xd0 mm/kasan/common.c:442 __do_kmalloc mm/slab.c:3655 [inline] __kmalloc+0x1b0/0x360 mm/slab.c:3664 kmalloc include/linux/slab.h:559 [inline] sk_prot_alloc+0x17a/0x300 net/core/sock.c:1685 sk_alloc+0x32/0xbd0 net/core/sock.c:1739 packet_create+0x11d/0xae0 net/packet/af_packet.c:3260 __sock_create+0x3de/0x780 net/socket.c:1427 sock_create net/socket.c:1478 [inline] __sys_socket+0xef/0x200 net/socket.c:1520 __do_sys_socket net/socket.c:1529 [inline] __se_sys_socket net/socket.c:1527 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1527 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5f9 Code: 5d b4 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fb3df0d9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000033580 RCX: 000000000045d5f9 RDX: 0000000000000300 RSI: 0000000000000003 RDI: 0000000000000011 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 000000000169fb6f R14: 00007fb3df0da9c0 R15: 000000000118cf4c Modules linked in: ---[ end trace 94673d1cfbdc7775 ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:28 Code: bf fe 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 10 6b 40 00 48 85 db 75 0d e8 86 6e 40 00 4c 89 e0 5b 5d 41 5c c3 e8 79 6e 40 00 <0f> 0b e8 72 6e 40 00 48 c7 c0 10 50 c9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc9000b937c38 EFLAGS: 00010212 RAX: 0000000000002bce RBX: 0220002200022000 RCX: ffffc90010e0a000 RDX: 0000000000040000 RSI: ffffffff8135d147 RDI: 0000000000000006 RBP: 0220002280022000 R08: 0000000000000001 R09: 0000000000000001 R10: 0220002280022000 R11: 0000000000000000 R12: 022077a200022000 R13: ffffc9000b937ca0 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007fb3df0da700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ff3bc3ced8 CR3: 0000000043055000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400