------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 19162 Comm: syz-executor.4 Not tainted 4.19.211-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:27 Code: 67 fb 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 40 28 37 00 48 85 db 75 0d e8 a6 26 37 00 4c 89 e0 5b 5d 41 5c c3 e8 99 26 37 00 <0f> 0b e8 92 26 37 00 48 c7 c0 10 30 e7 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8880a1367a80 EFLAGS: 00010293 RAX: ffff8880b38aa580 RBX: 0000000000007700 RCX: ffffffff812b5e78 RDX: 0000000000000000 RSI: ffffffff812b5ed7 RDI: 0000000000000006 RBP: 0000000080007700 R08: 0000000000000000 R09: 0000000080007700 R10: 0000000000000006 R11: 0000000000000000 R12: 0000778000007700 R13: ffff8880a1367ad8 R14: 0000000000000000 R15: 0000000000000286 FS: 00005555570de400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb11e599ff8 CR3: 0000000010a9f000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:665 [inline] qlink_to_cache mm/kasan/quarantine.c:127 [inline] qlist_free_all+0xbb/0x140 mm/kasan/quarantine.c:163 quarantine_reduce+0x1a9/0x230 mm/kasan/quarantine.c:259 kasan_kmalloc+0xa2/0x160 mm/kasan/kasan.c:538 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc mm/slab.c:3397 [inline] kmem_cache_alloc+0x110/0x370 mm/slab.c:3557 sock_alloc_inode+0x19/0x250 net/socket.c:244 alloc_inode+0x5d/0x180 fs/inode.c:211 new_inode_pseudo+0x14/0xe0 fs/inode.c:911 sock_alloc+0x3c/0x260 net/socket.c:567 __sock_create+0xba/0x740 net/socket.c:1329 sock_create net/socket.c:1416 [inline] __sys_socket+0xef/0x200 net/socket.c:1458 __do_sys_socket net/socket.c:1467 [inline] __se_sys_socket net/socket.c:1465 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1465 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fc1146ad517 Code: f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 29 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd14b26468 EFLAGS: 00000202 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc1146ad517 RDX: 0000000000000006 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 00007ffd14b26490 R08: 0000000000000000 R09: ffffffffff000000 R10: 0000000000000010 R11: 0000000000000202 R12: 0000000000000032 R13: 0000000000190540 R14: 0000000000000003 R15: 00007fc11478ed20 Modules linked in: ------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#2] PREEMPT SMP KASAN CPU: 0 PID: 4696 Comm: systemd-journal Tainted: G D 4.19.211-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:27 Code: 67 fb 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 40 28 37 00 48 85 db 75 0d e8 a6 26 37 00 4c 89 e0 5b 5d 41 5c c3 e8 99 26 37 00 <0f> 0b e8 92 26 37 00 48 c7 c0 10 30 e7 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8880a0937b30 EFLAGS: 00010293 RAX: ffff8880a092c680 RBX: 0000000007700770 RCX: ffffffff812b5e78 RDX: 0000000000000000 RSI: ffffffff812b5ed7 RDI: 0000000000000006 RBP: 0000000087700770 R08: 0000000000000000 R09: 0000000087700770 ---[ end trace dab2ab64b6bb442b ]--- R10: 0000000000000006 R11: 0000000000000000 R12: 0000778007700770 R13: ffff8880a0937b88 R14: 0000000000000000 R15: 0000000000000286 FS: 00007f7b311808c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f70fddfb742 CR3: 00000000a0dc9000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:27 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:665 [inline] qlink_to_cache mm/kasan/quarantine.c:127 [inline] qlist_free_all+0xbb/0x140 mm/kasan/quarantine.c:163 quarantine_reduce+0x1a9/0x230 mm/kasan/quarantine.c:259 kasan_kmalloc+0xa2/0x160 mm/kasan/kasan.c:538 Code: 67 fb 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 40 28 37 00 48 85 db 75 0d e8 a6 26 37 00 4c 89 e0 5b 5d 41 5c c3 e8 99 26 37 00 <0f> 0b e8 92 26 37 00 48 c7 c0 10 30 e7 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8880a1367a80 EFLAGS: 00010293 RAX: ffff8880b38aa580 RBX: 0000000000007700 RCX: ffffffff812b5e78 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc mm/slab.c:3397 [inline] kmem_cache_alloc+0x110/0x370 mm/slab.c:3557 prepare_creds+0x39/0x510 kernel/cred.c:255 do_faccessat+0x94/0x7a0 fs/open.c:359 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f7b3043b9c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007fffebecffb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RDX: 0000000000000000 RSI: ffffffff812b5ed7 RDI: 0000000000000006 RAX: ffffffffffffffda RBX: 00007fffebed2fe0 RCX: 00007f7b3043b9c7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000055eb55bc79a3 RBP: 00007fffebed0100 R08: 000055eb55bbd3e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 RBP: 0000000080007700 R08: 0000000000000000 R09: 0000000080007700 R13: 0000000000000000 R14: 000055eb573208a0 R15: 00007fffebed05f0 Modules linked in: ---[ end trace dab2ab64b6bb442c ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:27 usb usb9: usbfs: interface 0 claimed by hub while 'syz-executor.0' sets config #0 Code: 67 fb 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 40 28 37 00 48 85 db 75 0d e8 a6 26 37 00 4c 89 e0 5b 5d 41 5c c3 e8 99 26 37 00 <0f> 0b e8 92 26 37 00 48 c7 c0 10 30 e7 89 48 ba 00 00 00 00 00 fc R10: 0000000000000006 R11: 0000000000000000 R12: 0000778000007700 RSP: 0018:ffff8880a1367a80 EFLAGS: 00010293 R13: ffff8880a1367ad8 R14: 0000000000000000 R15: 0000000000000286 RAX: ffff8880b38aa580 RBX: 0000000000007700 RCX: ffffffff812b5e78 FS: 00005555570de400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 RDX: 0000000000000000 RSI: ffffffff812b5ed7 RDI: 0000000000000006 RBP: 0000000080007700 R08: 0000000000000000 R09: 0000000080007700 R10: 0000000000000006 R11: 0000000000000000 R12: 0000778000007700 R13: ffff8880a1367ad8 R14: 0000000000000000 R15: 0000000000000286 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 FS: 00007f7b311808c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CR2: 00007ffd3e5b1c40 CR3: 0000000010a9f000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033