general protection fault, probably for non-canonical address 0xdffffc00000001fc: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000fe0-0x0000000000000fe7] CPU: 1 PID: 14680 Comm: syz-executor.5 Not tainted 6.4.0-rc5-syzkaller-00016-ga4d7d7011219 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:__fb_pad_aligned_buffer include/linux/fb.h:632 [inline] RIP: 0010:bit_putcs_aligned drivers/video/fbdev/core/bitblit.c:96 [inline] RIP: 0010:bit_putcs+0x5fa/0xd20 drivers/video/fbdev/core/bitblit.c:185 Code: 64 24 5c 48 8b 5c 24 18 49 83 c4 01 eb 03 45 89 ee e8 5a 2b 2d fd 48 89 ef 48 83 c5 01 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 38 38 d0 7f 08 84 c0 0f 85 aa 05 00 00 48 89 d8 48 89 RSP: 0000:ffffc900033f7688 EFLAGS: 00010246 RAX: 00000000000001fc RBX: ffff88801f4189c0 RCX: ffffc9000c4de000 RDX: 0000000000000000 RSI: ffffffff84563c06 RDI: 0000000000000fe0 RBP: 0000000000000fe1 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000010 R11: 0000000000000001 R12: 0000000000000001 R13: 00000000000000e0 R14: 000000000000000f R15: dffffc0000000000 FS: 00007f2fc01b4700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c925000 CR3: 000000004fe8d000 CR4: 00000000003506e0 Call Trace: fbcon_putcs+0x318/0x3e0 drivers/video/fbdev/core/fbcon.c:1282 con_flush drivers/tty/vt/vt.c:2572 [inline] do_con_write+0xd80/0x1e70 drivers/tty/vt/vt.c:2905 con_put_char+0x74/0xa0 drivers/tty/vt/vt.c:3254 tty_put_char+0xbb/0x150 drivers/tty/tty_io.c:3141 do_output_char+0x155/0x850 drivers/tty/n_tty.c:480 process_output drivers/tty/n_tty.c:505 [inline] n_tty_write+0x581/0xfd0 drivers/tty/n_tty.c:2361 do_tty_write drivers/tty/tty_io.c:1018 [inline] file_tty_write.constprop.0+0x453/0x9c0 drivers/tty/tty_io.c:1089 call_write_iter include/linux/fs.h:1868 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x945/0xd50 fs/read_write.c:584 ksys_write+0x12b/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2fbf48c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2fc01b4168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f2fbf5abf80 RCX: 00007f2fbf48c169 RDX: 0000000000001006 RSI: 0000000020001040 RDI: 0000000000000004 RBP: 00007f2fbf4e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd70e2efdf R14: 00007f2fc01b4300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__fb_pad_aligned_buffer include/linux/fb.h:632 [inline] RIP: 0010:bit_putcs_aligned drivers/video/fbdev/core/bitblit.c:96 [inline] RIP: 0010:bit_putcs+0x5fa/0xd20 drivers/video/fbdev/core/bitblit.c:185 Code: 64 24 5c 48 8b 5c 24 18 49 83 c4 01 eb 03 45 89 ee e8 5a 2b 2d fd 48 89 ef 48 83 c5 01 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 <42> 0f b6 04 38 38 d0 7f 08 84 c0 0f 85 aa 05 00 00 48 89 d8 48 89 RSP: 0000:ffffc900033f7688 EFLAGS: 00010246 RAX: 00000000000001fc RBX: ffff88801f4189c0 RCX: ffffc9000c4de000 RDX: 0000000000000000 RSI: ffffffff84563c06 RDI: 0000000000000fe0 RBP: 0000000000000fe1 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000010 R11: 0000000000000001 R12: 0000000000000001 R13: 00000000000000e0 R14: 000000000000000f R15: dffffc0000000000 FS: 00007f2fc01b4700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c925000 CR3: 000000004fe8d000 CR4: 00000000003506e0 ---------------- Code disassembly (best guess): 0: 64 24 5c fs and $0x5c,%al 3: 48 8b 5c 24 18 mov 0x18(%rsp),%rbx 8: 49 83 c4 01 add $0x1,%r12 c: eb 03 jmp 0x11 e: 45 89 ee mov %r13d,%r14d 11: e8 5a 2b 2d fd callq 0xfd2d2b70 16: 48 89 ef mov %rbp,%rdi 19: 48 83 c5 01 add $0x1,%rbp 1d: 48 89 f8 mov %rdi,%rax 20: 48 89 fa mov %rdi,%rdx 23: 48 c1 e8 03 shr $0x3,%rax 27: 83 e2 07 and $0x7,%edx * 2a: 42 0f b6 04 38 movzbl (%rax,%r15,1),%eax <-- trapping instruction 2f: 38 d0 cmp %dl,%al 31: 7f 08 jg 0x3b 33: 84 c0 test %al,%al 35: 0f 85 aa 05 00 00 jne 0x5e5 3b: 48 89 d8 mov %rbx,%rax 3e: 48 rex.W 3f: 89 .byte 0x89