------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 6528 Comm: syz-fuzzer Not tainted 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__phys_addr+0xd3/0x140 arch/x86/mm/physaddr.c:28 Code: e3 44 89 e9 31 ff 48 d3 eb 48 89 de e8 76 bd 42 00 48 85 db 75 0f e8 dc ba 42 00 4c 89 e0 5b 5d 41 5c 41 5d c3 e8 cd ba 42 00 <0f> 0b e8 c6 ba 42 00 48 c7 c0 10 50 8b 8b 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90001aaf860 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000112e00 RCX: 0000000000000000 RDX: ffff888023031d00 RSI: ffffffff8134de93 RDI: 0000000000000003 RBP: 0000000080112e00 R08: 0000000080112e00 R09: 000000008024000b R10: ffffffff8134de0e R11: 0000000000000000 R12: 0000778000112e00 R13: ffffc90001aaf8c0 R14: ffffea0000000000 R15: 0000000000112e00 FS: 000000c000195890(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002d038000 CR3: 0000000071c9d000 CR4: 00000000003526e0 DR0: 00000000bf65f11c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:861 [inline] qlink_to_cache mm/kasan/quarantine.c:120 [inline] qlist_free_all+0x76/0xc0 mm/kasan/quarantine.c:162 kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0xa2/0xc0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:259 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:3234 [inline] kmem_cache_alloc_node+0x255/0x3f0 mm/slub.c:3270 __alloc_skb+0x215/0x340 net/core/skbuff.c:414 alloc_skb_fclone include/linux/skbuff.h:1176 [inline] tcp_stream_alloc_skb+0x66/0x910 net/ipv4/tcp.c:861 tcp_sendmsg_locked+0xaba/0x3040 net/ipv4/tcp.c:1281 tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1440 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:819 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:724 sock_write_iter+0x289/0x3c0 net/socket.c:1057 call_write_iter include/linux/fs.h:2162 [inline] new_sync_write+0x429/0x660 fs/read_write.c:503 vfs_write+0x7cd/0xae0 fs/read_write.c:590 ksys_write+0x1ee/0x250 fs/read_write.c:643 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+0x44/0xae RIP: 0033:0x4b129b Code: fb ff eb bd e8 46 96 fb ff e9 61 ff ff ff cc e8 3b 62 fb ff 48 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 28 ff ff ff ff 48 c7 44 24 30 RSP: 002b:000000c0005ff468 EFLAGS: 00000216 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000c00001e800 RCX: 00000000004b129b RDX: 00000000000000f0 RSI: 000000c00000a200 RDI: 0000000000000006 RBP: 000000c0005ff4b8 R08: 000000c0005ff501 R09: 0000000000000004 R10: 0000000000000001 R11: 0000000000000216 R12: 0000000000000001 R13: 0000000000000102 R14: 000000000000007f R15: fffffffffffe04b3 Modules linked in: ---[ end trace 88e507899c649eb5 ]--- RIP: 0010:__phys_addr+0xd3/0x140 arch/x86/mm/physaddr.c:28 Code: e3 44 89 e9 31 ff 48 d3 eb 48 89 de e8 76 bd 42 00 48 85 db 75 0f e8 dc ba 42 00 4c 89 e0 5b 5d 41 5c 41 5d c3 e8 cd ba 42 00 <0f> 0b e8 c6 ba 42 00 48 c7 c0 10 50 8b 8b 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90001aaf860 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000112e00 RCX: 0000000000000000 RDX: ffff888023031d00 RSI: ffffffff8134de93 RDI: 0000000000000003 RBP: 0000000080112e00 R08: 0000000080112e00 R09: 000000008024000b R10: ffffffff8134de0e R11: 0000000000000000 R12: 0000778000112e00 R13: ffffc90001aaf8c0 R14: ffffea0000000000 R15: 0000000000112e00 FS: 000000c000195890(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000054 CR3: 0000000071c9d000 CR4: 00000000003526e0 DR0: 00000000bf65f11c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400