general protection fault, probably for non-canonical address 0xdffffc0000000040: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000200-0x0000000000000207] CPU: 0 PID: 10788 Comm: syz-executor.3 Not tainted 6.3.0-syzkaller-00436-g173ea743bf7a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:soft_cursor+0x72d/0xa30 drivers/video/fbdev/core/softcursor.c:61 Code: 24 18 e8 96 76 2e fd 41 80 3f 00 0f 85 db 01 00 00 48 8b 4d 20 49 8d 44 24 b0 48 01 c1 48 89 ce 48 89 cf 48 c1 ee 03 83 e7 07 <0f> b6 34 1e 40 38 fe 7f 09 40 84 f6 0f 85 e1 01 00 00 48 8b 54 24 RSP: 0018:ffffc900036cf358 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000200 RDX: 0000000000040000 RSI: 0000000000000040 RDI: 0000000000000000 RBP: ffff88801db83000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000010 R11: 0000000000000000 R12: 0000000000000050 R13: 0000000000000010 R14: ffffc900036cf478 R15: ffffed1003b70604 FS: 00007fc2bc1bc700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9218b831b8 CR3: 000000002b699000 CR4: 0000000000350ef0 Call Trace: bit_cursor+0xf13/0x17a0 drivers/video/fbdev/core/bitblit.c:377 fbcon_cursor+0x3e0/0x550 drivers/video/fbdev/core/fbcon.c:1325 set_cursor drivers/tty/vt/vt.c:864 [inline] set_cursor+0x1d2/0x240 drivers/tty/vt/vt.c:855 con_flush_chars drivers/tty/vt/vt.c:3317 [inline] con_flush_chars+0x70/0x90 drivers/tty/vt/vt.c:3306 con_write+0x30/0x40 drivers/tty/vt/vt.c:3245 process_output_block drivers/tty/n_tty.c:586 [inline] n_tty_write+0x4ce/0xfd0 drivers/tty/n_tty.c:2350 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:1851 [inline] do_iter_readv_writev+0x20b/0x3b0 fs/read_write.c:735 do_iter_write+0x185/0x7e0 fs/read_write.c:860 vfs_iter_write+0x74/0xa0 fs/read_write.c:901 iter_file_splice_write+0x743/0xc80 fs/splice.c:779 do_splice_from fs/splice.c:857 [inline] direct_splice_actor+0x114/0x180 fs/splice.c:1023 splice_direct_to_actor+0x335/0x8a0 fs/splice.c:978 do_splice_direct+0x1ab/0x280 fs/splice.c:1066 do_sendfile+0xb19/0x12c0 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1308 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:0x7fc2bd68c169 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:00007fc2bc1bc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fc2bd7ac120 RCX: 00007fc2bd68c169 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000008 RBP: 00007fc2bd6e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000007ffff003 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdfc95e0cf R14: 00007fc2bc1bc300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:soft_cursor+0x72d/0xa30 drivers/video/fbdev/core/softcursor.c:61 Code: 24 18 e8 96 76 2e fd 41 80 3f 00 0f 85 db 01 00 00 48 8b 4d 20 49 8d 44 24 b0 48 01 c1 48 89 ce 48 89 cf 48 c1 ee 03 83 e7 07 <0f> b6 34 1e 40 38 fe 7f 09 40 84 f6 0f 85 e1 01 00 00 48 8b 54 24 RSP: 0018:ffffc900036cf358 EFLAGS: 00010246 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000200 RDX: 0000000000040000 RSI: 0000000000000040 RDI: 0000000000000000 RBP: ffff88801db83000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000010 R11: 0000000000000000 R12: 0000000000000050 R13: 0000000000000010 R14: ffffc900036cf478 R15: ffffed1003b70604 FS: 00007fc2bc1bc700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200c6000 CR3: 000000002b699000 CR4: 0000000000350ee0 ---------------- Code disassembly (best guess): 0: 24 18 and $0x18,%al 2: e8 96 76 2e fd callq 0xfd2e769d 7: 41 80 3f 00 cmpb $0x0,(%r15) b: 0f 85 db 01 00 00 jne 0x1ec 11: 48 8b 4d 20 mov 0x20(%rbp),%rcx 15: 49 8d 44 24 b0 lea -0x50(%r12),%rax 1a: 48 01 c1 add %rax,%rcx 1d: 48 89 ce mov %rcx,%rsi 20: 48 89 cf mov %rcx,%rdi 23: 48 c1 ee 03 shr $0x3,%rsi 27: 83 e7 07 and $0x7,%edi * 2a: 0f b6 34 1e movzbl (%rsi,%rbx,1),%esi <-- trapping instruction 2e: 40 38 fe cmp %dil,%sil 31: 7f 09 jg 0x3c 33: 40 84 f6 test %sil,%sil 36: 0f 85 e1 01 00 00 jne 0x21d 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 54 push %rsp 3f: 24 .byte 0x24