------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 11743 Comm: syz-executor.5 Not tainted 4.19.122-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: 0d 7d 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 60 a9 37 00 48 85 db 75 0d e8 c6 a7 37 00 4c 89 e0 5b 5d 41 5c c3 e8 b9 a7 37 00 <0f> 0b e8 b2 a7 37 00 48 c7 c0 10 50 c7 88 48 ba 00 00 00 00 00 fc RSP: 0018:ffff88804919f4b0 EFLAGS: 00010046 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc900104f9000 RDX: 0000000000040000 RSI: ffffffff813021e7 RDI: 0000000000000007 RBP: ffffc90092c31000 R08: ffff888081ad63c0 R09: ffffed1015ce4733 R10: ffffed1015ce4732 R11: ffff8880ae723993 R12: 0000408012c31000 R13: ffffffff83750f90 R14: 0000000000000028 R15: ffff88812c27f200 FS: 00007ff3df384700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055cb15a086d8 CR3: 000000008421d000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:653 [inline] virt_to_cache mm/slab.c:399 [inline] kfree+0x77/0x220 mm/slab.c:3818 vc_do_resize+0x10ac/0x1380 drivers/tty/vt/vt.c:1236 fbcon_modechanged+0x396/0x8f0 drivers/video/fbdev/core/fbcon.c:2961 fbcon_event_notify+0x1b2/0x1d54 drivers/video/fbdev/core/fbcon.c:3347 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93 __blocking_notifier_call_chain kernel/notifier.c:317 [inline] __blocking_notifier_call_chain kernel/notifier.c:304 [inline] blocking_notifier_call_chain kernel/notifier.c:328 [inline] blocking_notifier_call_chain+0x85/0xa0 kernel/notifier.c:325 fb_set_var+0xc39/0xe00 drivers/video/fbdev/core/fbmem.c:1042 do_fb_ioctl+0x450/0x9c0 drivers/video/fbdev/core/fbmem.c:1115 fb_ioctl+0xdd/0x130 drivers/video/fbdev/core/fbmem.c:1230 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcda/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c829 Code: 0d b7 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 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ff3df383c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004e4860 RCX: 000000000045c829 RDX: 0000000020000000 RSI: 0000000000004601 RDI: 0000000000000004 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000002f2 R14: 00000000004c54c8 R15: 00007ff3df3846d4 Modules linked in: ---[ end trace 1caa7eddb3e7757a ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:27 Code: 0d 7d 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 60 a9 37 00 48 85 db 75 0d e8 c6 a7 37 00 4c 89 e0 5b 5d 41 5c c3 e8 b9 a7 37 00 <0f> 0b e8 b2 a7 37 00 48 c7 c0 10 50 c7 88 48 ba 00 00 00 00 00 fc RSP: 0018:ffff88804919f4b0 EFLAGS: 00010046 RAX: 0000000000040000 RBX: 0000000000000001 RCX: ffffc900104f9000 RDX: 0000000000040000 RSI: ffffffff813021e7 RDI: 0000000000000007 RBP: ffffc90092c31000 R08: ffff888081ad63c0 R09: ffffed1015ce4733 R10: ffffed1015ce4732 R11: ffff8880ae723993 R12: 0000408012c31000 R13: ffffffff83750f90 R14: 0000000000000028 R15: ffff88812c27f200 FS: 00007ff3df384700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055cb15a086d8 CR3: 000000008421d000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400