------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 21866 Comm: syz-executor.4 Not tainted 5.9.0-rc4-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: 99 7d 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 a0 90 3f 00 48 85 db 75 0d e8 f6 93 3f 00 4c 89 e0 5b 5d 41 5c c3 e8 e9 93 3f 00 <0f> 0b e8 e2 93 3f 00 48 c7 c0 10 50 a9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc900156cf9b0 EFLAGS: 00010212 RAX: 000000000000d9c9 RBX: 0770007707700077 RCX: ffffc90010e96000 RDX: 0000000000040000 RSI: ffffffff8134b9f7 RDI: 0000000000000006 RBP: 0770007787700077 R08: 0000000000000001 R09: ffffffff8c5f59ff R10: 0770007787700077 R11: 0000000000000001 R12: 077077f707700077 R13: ffffc900156cfa18 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007ff655082700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd2435339d0 CR3: 000000020da90000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:848 [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 slab_post_alloc_hook mm/slab.h:518 [inline] slab_alloc mm/slab.c:3312 [inline] kmem_cache_alloc_trace+0x13d/0x2c0 mm/slab.c:3548 kmalloc include/linux/slab.h:554 [inline] kzalloc include/linux/slab.h:666 [inline] inet_alloc_ifa net/ipv4/devinet.c:218 [inline] devinet_ioctl+0x154a/0x1ca0 net/ipv4/devinet.c:1153 inet_ioctl+0x1ea/0x330 net/ipv4/af_inet.c:967 sock_do_ioctl+0xcb/0x2d0 net/socket.c:1047 sock_ioctl+0x3b8/0x730 net/socket.c:1198 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:739 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:00007ff655081c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000001e880 RCX: 000000000045d5f9 RDX: 0000000020000280 RSI: 0000000000008916 RDI: 0000000000000005 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 000000000169fb6f R14: 00007ff6550829c0 R15: 000000000118cf4c Modules linked in: ---[ end trace 172484544f5db7bf ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:28 Code: 99 7d 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 a0 90 3f 00 48 85 db 75 0d e8 f6 93 3f 00 4c 89 e0 5b 5d 41 5c c3 e8 e9 93 3f 00 <0f> 0b e8 e2 93 3f 00 48 c7 c0 10 50 a9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc900156cf9b0 EFLAGS: 00010212 RAX: 000000000000d9c9 RBX: 0770007707700077 RCX: ffffc90010e96000 RDX: 0000000000040000 RSI: ffffffff8134b9f7 RDI: 0000000000000006 RBP: 0770007787700077 R08: 0000000000000001 R09: ffffffff8c5f59ff R10: 0770007787700077 R11: 0000000000000001 R12: 077077f707700077 R13: ffffc900156cfa18 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007ff655082700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd2435339d0 CR3: 000000020da90000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400