------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3710 Comm: systemd-udevd Not tainted 4.19.142-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: 7e 7d 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 70 c6 38 00 48 85 db 75 0d e8 d6 c4 38 00 4c 89 e0 5b 5d 41 5c c3 e8 c9 c4 38 00 <0f> 0b e8 c2 c4 38 00 48 c7 c0 10 50 c7 88 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8880907f79a8 EFLAGS: 00010293 RAX: ffff8880907ea700 RBX: dadadadadadadada RCX: ffffffff8130ec58 RDX: 0000000000000000 RSI: ffffffff8130ecb7 RDI: 0000000000000006 RBP: dadadadb5adadada R08: 0000000000000000 R09: dadadadb5adadada R10: 0000000000000006 R11: 0000000000000000 R12: dadb525adadadada R13: ffff8880907f7a00 R14: 0000000000000000 R15: 0000000000000282 FS: 00007fbd894b18c0(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004f58f0 CR3: 0000000090039000 CR4: 00000000001406e0 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 user_path_at_empty+0x2a/0x50 fs/namei.c:2609 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x113/0x210 fs/stat.c:185 vfs_lstat include/linux/fs.h:3134 [inline] __do_sys_newlstat fs/stat.c:350 [inline] __se_sys_newlstat+0x96/0x120 fs/stat.c:344 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbd88324335 Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89 RSP: 002b:00007ffdb0d7f958 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 000055793662b510 RCX: 00007fbd88324335 RDX: 00007ffdb0d7f990 RSI: 00007ffdb0d7f990 RDI: 000055793662a510 RBP: 00007ffdb0d7fa50 R08: 00007fbd885e3188 R09: 0000000000001010 R10: 0000000000000020 R11: 0000000000000246 R12: 000055793662a510 R13: 000055793662a52a R14: 000055793661fbf5 R15: 000055793661fbfa Modules linked in: ------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#2] PREEMPT SMP KASAN CPU: 1 PID: 3837 Comm: syz-executor.3 Tainted: G D 4.19.142-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: 7e 7d 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 70 c6 38 00 48 85 db 75 0d e8 d6 c4 38 00 4c 89 e0 5b 5d 41 5c c3 e8 c9 c4 38 00 <0f> 0b e8 c2 c4 38 00 48 c7 c0 10 50 c7 88 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8882118c7b08 EFLAGS: 00010293 kasan: CONFIG_KASAN_INLINE enabled RAX: ffff888212b222c0 RBX: 8c8c8c8c8c8c8c8c RCX: ffffffff8130ec58 RDX: 0000000000000000 RSI: ffffffff8130ecb7 RDI: 0000000000000006 RBP: 8c8c8c8d0c8c8c8c R08: 0000000000000000 R09: 8c8c8c8d0c8c8c8c R10: 0000000000000006 R11: 000000000000000a R12: 8c8d040c8c8c8c8c R13: ffff8882118c7b60 R14: 0000000000000000 R15: 0000000000000282 kasan: GPF could be caused by NULL-ptr deref or user memory access FS: 0000000002cd6940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6170ce5020 CR3: 00000000981c8000 CR4: 00000000001406e0 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 getname fs/namei.c:211 [inline] do_symlinkat+0x86/0x2c0 fs/namei.c:4145 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45d2e7 Code: 0f 1f 00 b8 5c 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 1d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 58 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 fd b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffead62e8c8 EFLAGS: 00000202 ORIG_RAX: 0000000000000058 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045d2e7 RDX: 00007ffead62e963 RSI: 00000000004c30cd RDI: 00007ffead62e950 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000013 R10: 0000000000000075 R11: 0000000000000202 R12: 0000000000000000 R13: 00007ffead62e900 R14: 0000000000000000 R15: 00007ffead62e910 Modules linked in: general protection fault: 0000 [#3] PREEMPT SMP KASAN CPU: 0 PID: 3838 Comm: syz-executor.0 Tainted: G D 4.19.142-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:futex_wake+0x22f/0x480 kernel/futex.c:1618 ---[ end trace 645336f797a97076 ]--- Code: 4c 39 24 24 48 8d 58 e8 0f 84 b7 01 00 00 49 bc 00 00 00 00 00 fc ff df eb 33 e8 2c a5 0a 00 4c 8d 6b 18 4c 89 e8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 c5 01 00 00 48 8b 43 18 48 89 dd 48 83 e8 18 RSP: 0018:ffff88820351fb28 EFLAGS: 00010203 RAX: 02a2a2a2a2a2a2a2 RBX: 15151515151514fd RCX: ffffffff815f0cbf RDX: 0000000000000000 RSI: ffffffff815f0c54 RDI: 0000000000000006 RBP: ffff888000187b40 R08: 0000000000000001 R09: 8888888888888888 R10: 0000000000000006 R11: 0000000000000000 R12: dffffc0000000000 R13: 1515151515151515 R14: 8888888888888888 R15: 000000000118c000 RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:27 FS: 0000000002e85940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000118d001 CR3: 0000000090425000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_futex+0x351/0x1c40 kernel/futex.c:3714 ---[ end trace 645336f797a97077 ]--- Code: 7e 7d 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 70 c6 38 00 48 85 db 75 0d e8 d6 c4 38 00 4c 89 e0 5b 5d 41 5c c3 e8 c9 c4 38 00 <0f> 0b e8 c2 c4 38 00 48 c7 c0 10 50 c7 88 48 ba 00 00 00 00 00 fc RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:27 Code: 7e 7d 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 70 c6 38 00 48 85 db 75 0d e8 d6 c4 38 00 4c 89 e0 5b 5d 41 5c c3 e8 c9 c4 38 00 <0f> 0b e8 c2 c4 38 00 48 c7 c0 10 50 c7 88 48 ba 00 00 00 00 00 fc __do_sys_futex kernel/futex.c:3770 [inline] __se_sys_futex+0x28f/0x3b0 kernel/futex.c:3738 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 RSP: 0018:ffff8880907f79a8 EFLAGS: 00010293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45d5b9 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:00007ffc24ec8898 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 000000000118cfec RCX: 000000000045d5b9 RAX: ffff8880907ea700 RBX: dadadadadadadada RCX: ffffffff8130ec58 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 000000000118cfec RBP: 000000000118cfe0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000011900d8 R11: 0000000000000246 R12: 00000000011900a0 R13: 0000000000000001 R14: 00000000000000a6 R15: 000000000118cfec RDX: 0000000000000000 RSI: ffffffff8130ecb7 RDI: 0000000000000006 Modules linked in: RBP: dadadadb5adadada R08: 0000000000000000 R09: dadadadb5adadada ---[ end trace 645336f797a97078 ]--- RSP: 0018:ffff8880907f79a8 EFLAGS: 00010293 RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:27 RAX: ffff8880907ea700 RBX: dadadadadadadada RCX: ffffffff8130ec58 Code: 7e 7d 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 70 c6 38 00 48 85 db 75 0d e8 d6 c4 38 00 4c 89 e0 5b 5d 41 5c c3 e8 c9 c4 38 00 <0f> 0b e8 c2 c4 38 00 48 c7 c0 10 50 c7 88 48 ba 00 00 00 00 00 fc RDX: 0000000000000000 RSI: ffffffff8130ecb7 RDI: 0000000000000006 RSP: 0018:ffff8880907f79a8 EFLAGS: 00010293 RAX: ffff8880907ea700 RBX: dadadadadadadada RCX: ffffffff8130ec58 RDX: 0000000000000000 RSI: ffffffff8130ecb7 RDI: 0000000000000006 RBP: dadadadb5adadada R08: 0000000000000000 R09: dadadadb5adadada R10: 0000000000000006 R11: 0000000000000000 R12: dadb525adadadada R13: ffff8880907f7a00 R14: 0000000000000000 R15: 0000000000000282 FS: 0000000002e85940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000118d001 CR3: 0000000090425000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 ------------[ cut here ]------------ DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 kernel BUG at arch/x86/mm/physaddr.c:22!