------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 10572 Comm: syz-executor.1 Not tainted 5.7.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__phys_addr+0x10e/0x120 arch/x86/mm/physaddr.c:28 Code: 6b 89 80 e1 07 38 c1 0f 8c 75 ff ff ff 48 c7 c7 85 a3 6b 89 e8 f3 a8 7d 00 e9 64 ff ff ff e8 b9 c5 3f 00 0f 0b e8 b2 c5 3f 00 <0f> 0b e8 ab c5 3f 00 0f 0b 66 0f 1f 84 00 00 00 00 00 53 48 89 fb RSP: 0018:ffffc900163d79f8 EFLAGS: 00010087 RAX: ffffffff81339bbe RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc9000458a000 RSI: 0000000000019abd RDI: 0000000000019abe RBP: 00000000ffffffea R08: ffffffff81339b2c R09: ffffed1015d07074 R10: ffffed1015d07074 R11: 0000000000000000 R12: ffffc90016431000 R13: dffffc0000000000 R14: 0000408016431000 R15: ffffffff83fad568 FS: 00007fca42e26700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000043e060 CR3: 000000009ff77000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:833 [inline] virt_to_cache mm/slab.h:474 [inline] kfree+0x60/0x220 mm/slab.c:3749 vc_do_resize+0x738/0x1ce0 drivers/tty/vt/vt.c:1233 vt_ioctl+0x3178/0x3eb0 drivers/tty/vt/vt_ioctl.c:901 tty_ioctl+0xee4/0x15c0 drivers/tty/tty_io.c:2656 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl fs/ioctl.c:763 [inline] __do_sys_ioctl fs/ioctl.c:772 [inline] __se_sys_ioctl+0xf9/0x160 fs/ioctl.c:770 do_syscall_64+0xf3/0x1b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 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:00007fca42e25c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004f2580 RCX: 000000000045c829 RDX: 0000000020000080 RSI: 000000000000560a RDI: 0000000000000008 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000066b R14: 00000000004c93f1 R15: 00007fca42e266d4 Modules linked in: ---[ end trace bb5b8b741e8a6ac6 ]--- RIP: 0010:__phys_addr+0x10e/0x120 arch/x86/mm/physaddr.c:28 Code: 6b 89 80 e1 07 38 c1 0f 8c 75 ff ff ff 48 c7 c7 85 a3 6b 89 e8 f3 a8 7d 00 e9 64 ff ff ff e8 b9 c5 3f 00 0f 0b e8 b2 c5 3f 00 <0f> 0b e8 ab c5 3f 00 0f 0b 66 0f 1f 84 00 00 00 00 00 53 48 89 fb RSP: 0018:ffffc900163d79f8 EFLAGS: 00010087 RAX: ffffffff81339bbe RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc9000458a000 RSI: 0000000000019abd RDI: 0000000000019abe RBP: 00000000ffffffea R08: ffffffff81339b2c R09: ffffed1015d07074 R10: ffffed1015d07074 R11: 0000000000000000 R12: ffffc90016431000 R13: dffffc0000000000 R14: 0000408016431000 R15: ffffffff83fad568 FS: 00007fca42e26700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000043e060 CR3: 000000009ff77000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400