BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 930e1067 P4D 930e1067 PUD 930e2067 PMD 0 Oops: 0002 [#1] SMP CPU: 1 PID: 9950 Comm: syz-executor.2 Not tainted 5.9.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:66 Code: c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 aa 4c 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 RSP: 0018:ffff888093173ad0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000320 RDX: 0000000000000320 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888093173b08 R08: ffffea000000000f R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a8df28b0 R13: ffff88812607bc00 R14: 0000000000000000 R15: 0000000000000320 FS: 00007f1b087d9700(0000) GS:ffff88812fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000930e0000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fbcon_modechanged+0x94/0x1370 drivers/video/fbdev/core/fbcon.c:2995 fbcon_update_vcs+0x86/0xa0 drivers/video/fbdev/core/fbcon.c:3070 do_fb_ioctl+0xf54/0x10b0 drivers/video/fbdev/core/fbmem.c:1106 fb_ioctl+0x1e4/0x210 drivers/video/fbdev/core/fbmem.c:1181 vfs_ioctl fs/ioctl.c:48 [inline] __do_sys_ioctl fs/ioctl.c:753 [inline] __se_sys_ioctl+0x311/0x4d0 fs/ioctl.c:739 __x64_sys_ioctl+0x4a/0x70 fs/ioctl.c:739 do_syscall_64+0x9f/0x140 arch/x86/entry/common.c:48 entry_SYSCALL_64_after_hwframe+0x44/0xa9 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:00007f1b087d8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000000e200 RCX: 000000000045d5b9 RDX: 0000000020000000 RSI: 0000000000004601 RDI: 0000000000000006 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffefef53f6f R14: 00007f1b087d99c0 R15: 000000000118cf4c Modules linked in: CR2: 0000000000000000 ---[ end trace aeb0ab9e09b33e99 ]--- RIP: 0010:memset_erms+0x9/0x10 arch/x86/lib/memset_64.S:66 Code: c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 aa 4c 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 RSP: 0018:ffff888093173ad0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000320 RDX: 0000000000000320 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888093173b08 R08: ffffea000000000f R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a8df28b0 R13: ffff88812607bc00 R14: 0000000000000000 R15: 0000000000000320 FS: 00007f1b087d9700(0000) GS:ffff88812fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000930e0000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400