audit: type=1804 audit(1596580535.968:34729): pid=4789 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir196304897/syzkaller.PiSYQG/1677/file0" dev="sda1" ino=16641 res=1 ------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 3709 Comm: systemd-udevd Not tainted 4.19.136-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: 6f 7d 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 70 c4 38 00 48 85 db 75 0d e8 d6 c2 38 00 4c 89 e0 5b 5d 41 5c c3 e8 c9 c2 38 00 <0f> 0b e8 c2 c2 38 00 48 c7 c0 10 50 c7 88 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8880904a7af8 EFLAGS: 00010293 RAX: ffff88809049a6c0 RBX: 00000000a88a0000 RCX: ffffffff8130ec18 RDX: 0000000000000000 RSI: ffffffff8130ec77 RDI: 0000000000000006 RBP: 00000001288a0000 R08: 0000000000000000 R09: 00000001288a0000 R10: 0000000000000006 R11: 0000000000000000 R12: 00007780a88a0000 R13: ffff8880904a7b50 R14: 0000000000000000 R15: 0000000000000282 FS: 00007f02198388c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564fc4c90d48 CR3: 00000000906e0000 CR4: 00000000001426f0 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 getname_flags+0xce/0x590 fs/namei.c:140 do_sys_open+0x26c/0x520 fs/open.c:1079 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f02186839b1 Code: f7 d8 bf ff ff ff ff 64 89 02 eb cb 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 80 3f 00 74 1b be 00 08 09 00 b8 02 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 1f 89 c7 e9 00 ff ff ff 48 8b 05 b1 54 2e 00 RSP: 002b:00007ffd09ebb9c8 EFLAGS: 00000202 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000055ef8e742790 RCX: 00007f02186839b1 RDX: 00000000000000ff RSI: 0000000000090800 RDI: 000055ef8e731b90 RBP: 00007f0219838710 R08: 000055ef8e726140 R09: 0000000000001010 R10: 00007f0218969b58 R11: 0000000000000202 R12: 0000000000000000 R13: 000055ef8e731b90 R14: 00000000000000ff R15: 000055ef8e731b90 Modules linked in: ---[ end trace 95c7bc75890aed3f ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:27 Code: 6f 7d 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 70 c4 38 00 48 85 db 75 0d e8 d6 c2 38 00 4c 89 e0 5b 5d 41 5c c3 e8 c9 c2 38 00 <0f> 0b e8 c2 c2 38 00 48 c7 c0 10 50 c7 88 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8880904a7af8 EFLAGS: 00010293 RAX: ffff88809049a6c0 RBX: 00000000a88a0000 RCX: ffffffff8130ec18 RDX: 0000000000000000 RSI: ffffffff8130ec77 RDI: 0000000000000006 RBP: 00000001288a0000 R08: 0000000000000000 R09: 00000001288a0000 R10: 0000000000000006 R11: 0000000000000000 R12: 00007780a88a0000 R13: ffff8880904a7b50 R14: 0000000000000000 R15: 0000000000000282 FS: 00007f02198388c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000564fc4c90d48 CR3: 00000000906e0000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400