------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off. invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 29027 Comm: systemd-udevd Not tainted 4.19.196-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: 54 fb 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 40 22 37 00 48 85 db 75 0d e8 a6 20 37 00 4c 89 e0 5b 5d 41 5c c3 e8 99 20 37 00 <0f> 0b e8 92 20 37 00 48 c7 c0 10 30 e7 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffff888237de7518 EFLAGS: 00010293 RAX: ffff8880b4dd6080 RBX: ff0088800044c4c0 RCX: ffffffff812b5e48 RDX: 0000000000000000 RSI: ffffffff812b5ea7 RDI: 0000000000000006 RBP: ff0088808044c4c0 R08: 0000000000000000 R09: ff0088808044c4c0 ------------[ cut here ]------------ R10: 0000000000000006 R11: 0000000000000000 R12: ff0100000044c4c0 kernel BUG at arch/x86/mm/physaddr.c:27! R13: ffff888237de7570 R14: 0000000000000000 R15: 0000000000000286 FS: 00007f5400d708c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f426313b000 CR3: 000000004726d000 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_node mm/slab.c:3340 [inline] kmem_cache_alloc_node+0x133/0x3b0 mm/slab.c:3647 __alloc_skb+0x71/0x560 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:995 [inline] alloc_skb_with_frags+0x92/0x570 net/core/skbuff.c:5330 sock_alloc_send_pskb+0x6e1/0x830 net/core/sock.c:2090 unix_dgram_sendmsg+0x3a5/0x12c0 net/unix/af_unix.c:1708 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 sock_write_iter+0x287/0x3c0 net/socket.c:966 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f53ffeb61b0 Code: 2e 0f 1f 84 00 00 00 00 00 90 48 8b 05 19 7e 20 00 c3 0f 1f 84 00 00 00 00 00 83 3d 19 c2 20 00 00 75 10 b8 01 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ae fc ff ff 48 89 04 24 RSP: 002b:00007ffd7b4142d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00005583aac176e0 RCX: 00007f53ffeb61b0 RDX: 0000000000000000 RSI: 00007ffd7b414390 RDI: 0000000000000008 RBP: 00007ffd7b414450 R08: 00005583aac1c1b4 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000246 R12: 00007ffd7b4143a0 R13: 00005583aac1a880 R14: 0000000000000003 R15: 000000000000000e Modules linked in: invalid opcode: 0000 [#2] PREEMPT SMP KASAN CPU: 1 PID: 4701 Comm: systemd-udevd Tainted: G D 4.19.196-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 audit: type=1804 audit(1625942342.065:201): pid=29048 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir256730146/syzkaller.XQUfcn/2399/file0" dev="sda1" ino=14488 res=1 Code: 54 fb 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 40 22 37 00 48 85 db 75 0d e8 a6 20 37 00 4c 89 e0 5b 5d 41 5c c3 e8 99 20 37 00 <0f> 0b e8 92 20 37 00 48 c7 c0 10 30 e7 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffff88809b3df9f8 EFLAGS: 00010293 RAX: ffff88809b3d4100 RBX: ff00888000010200 RCX: ffffffff812b5e48 RDX: 0000000000000000 RSI: ffffffff812b5ea7 RDI: 0000000000000006 ---[ end trace 9037716f487fd58e ]--- RBP: ff00888080010200 R08: 0000000000000000 R09: ff00888080010200 R10: 0000000000000006 R11: 000000000000000a R12: ff01000000010200 R13: ffff88809b3dfa50 R14: 0000000000000000 R15: 0000000000000286 FS: 00007f5400d708c0(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:27 CR2: 0000000000000001 CR3: 000000009ac22000 CR4: 00000000001426e0 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 Code: 54 fb 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 40 22 37 00 48 85 db 75 0d e8 a6 20 37 00 4c 89 e0 5b 5d 41 5c c3 e8 99 20 37 00 <0f> 0b e8 92 20 37 00 48 c7 c0 10 30 e7 89 48 ba 00 00 00 00 00 fc kasan_kmalloc+0xa2/0x160 mm/kasan/kasan.c:538 RSP: 0018:ffff888237de7518 EFLAGS: 00010293 RAX: ffff8880b4dd6080 RBX: ff0088800044c4c0 RCX: ffffffff812b5e48 RDX: 0000000000000000 RSI: ffffffff812b5ea7 RDI: 0000000000000006 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc mm/slab.c:3397 [inline] kmem_cache_alloc_trace+0x11a/0x380 mm/slab.c:3623 kmalloc include/linux/slab.h:515 [inline] kzalloc include/linux/slab.h:709 [inline] kernfs_iop_get_link fs/kernfs/symlink.c:136 [inline] kernfs_iop_get_link+0x61/0x6f0 fs/kernfs/symlink.c:127 vfs_readlink+0x1d7/0x390 fs/namei.c:4738 RBP: ff0088808044c4c0 R08: 0000000000000000 R09: ff0088808044c4c0 do_readlinkat+0x27e/0x2f0 fs/stat.c:406 R10: 0000000000000006 R11: 0000000000000000 R12: ff0100000044c4c0 __do_sys_readlinkat fs/stat.c:421 [inline] __se_sys_readlinkat fs/stat.c:418 [inline] __x64_sys_readlinkat+0x93/0xf0 fs/stat.c:418 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f53ffbe40ba Code: 48 8b 0d e1 bd 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 0b 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d ae bd 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffd7b4131c8 EFLAGS: 00000206 ORIG_RAX: 000000000000010b RAX: ffffffffffffffda RBX: 00005583aac17990 RCX: 00007f53ffbe40ba RDX: 00005583aac17990 RSI: 00007ffd7b413290 RDI: 00000000ffffff9c RBP: 0000000000000064 R08: 00005583aa181670 R09: 0000000000000070 R10: 0000000000000063 R11: 0000000000000206 R12: 00007ffd7b413290 R13: 00000000ffffff9c R14: 00007ffd7b413220 R15: 0000000000000063 Modules linked in: ---[ end trace 9037716f487fd58f ]--- R13: ffff888237de7570 R14: 0000000000000000 R15: 0000000000000286 FS: 00007f5400d708c0(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002415708 CR3: 000000004726d000 CR4: 00000000001426e0 RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:27 Code: 54 fb 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 40 22 37 00 48 85 db 75 0d e8 a6 20 37 00 4c 89 e0 5b 5d 41 5c c3 e8 99 20 37 00 <0f> 0b e8 92 20 37 00 48 c7 c0 10 30 e7 89 48 ba 00 00 00 00 00 fc DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 overlayfs: fs on './file0' does not support file handles, falling back to index=off,nfs_export=off.