------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8432 Comm: syz-executor.3 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__phys_addr+0x66/0xb0 arch/x86/mm/physaddr.c:28 Code: 0f b6 14 11 48 89 f9 83 e1 07 38 ca 7f 04 84 d2 75 1a 0f b6 0d b0 14 90 08 48 89 c2 48 d3 ea 48 85 d2 75 06 48 83 c4 08 5b c3 <0f> 0b 48 89 04 24 e8 1f 29 6f 00 48 8b 04 24 eb d7 48 c7 c7 10 10 RSP: 0018:ffffc900049e7900 EFLAGS: 00010002 RAX: 0000408004a39000 RBX: ffffc90084a39000 RCX: 000000000000002e RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffffffff89bd89b5 RBP: ffffc90004a39000 R08: ffffed1015d07104 R09: ffffed1015d07104 R10: ffff8880ae83881b R11: ffffed1015d07103 R12: ffffffff83989157 R13: 000000000000001e R14: 0000000000001f57 R15: ffff88809e9fc000 FS: 00007fd7ba317700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004fa1d0 CR3: 00000000951e3000 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+0x77/0x2b0 mm/slab.c:3749 vc_do_resize+0xe57/0x1120 drivers/tty/vt/vt.c:1233 vt_ioctl+0xfe8/0x2330 drivers/tty/vt/vt_ioctl.c:901 tty_ioctl+0x461/0x1220 drivers/tty/tty_io.c:2656 vfs_ioctl fs/ioctl.c:47 [inline] ksys_ioctl+0xb8/0x110 fs/ioctl.c:763 __do_sys_ioctl fs/ioctl.c:772 [inline] __se_sys_ioctl fs/ioctl.c:770 [inline] __x64_sys_ioctl+0x6a/0xb0 fs/ioctl.c:770 do_syscall_64+0xc6/0x620 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:00007fd7ba316c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000004f2580 RCX: 000000000045c829 RDX: 0000000020000080 RSI: 000000000000560a RDI: 0000000000000004 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000066b R14: 00000000004c93f1 R15: 00007fd7ba3176d4 Modules linked in: ---[ end trace d7a3bec6bd6a206b ]--- RIP: 0010:__phys_addr+0x66/0xb0 arch/x86/mm/physaddr.c:28 Code: 0f b6 14 11 48 89 f9 83 e1 07 38 ca 7f 04 84 d2 75 1a 0f b6 0d b0 14 90 08 48 89 c2 48 d3 ea 48 85 d2 75 06 48 83 c4 08 5b c3 <0f> 0b 48 89 04 24 e8 1f 29 6f 00 48 8b 04 24 eb d7 48 c7 c7 10 10 RSP: 0018:ffffc900049e7900 EFLAGS: 00010002 RAX: 0000408004a39000 RBX: ffffc90084a39000 RCX: 000000000000002e RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffffffff89bd89b5 RBP: ffffc90004a39000 R08: ffffed1015d07104 R09: ffffed1015d07104 R10: ffff8880ae83881b R11: ffffed1015d07103 R12: ffffffff83989157 R13: 000000000000001e R14: 0000000000001f57 R15: ffff88809e9fc000 FS: 00007fd7ba317700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004fa1d0 CR3: 00000000951e3000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400