================================================================== BUG: KASAN: null-ptr-deref in soft_cursor+0x384/0x6b4 drivers/video/fbdev/core/softcursor.c:70 Read of size 16 at addr 0000000000000200 by task kworker/u4:5/1843 CPU: 0 PID: 1843 Comm: kworker/u4:5 Not tainted 5.15.113-syzkaller-00204-g1fe619a7d252 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Workqueue: events_power_efficient fb_flashcursor Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 __kasan_report mm/kasan/report.c:438 [inline] kasan_report+0x168/0x1e4 mm/kasan/report.c:451 kasan_check_range+0x274/0x2b4 mm/kasan/generic.c:189 memcpy+0x90/0xe8 mm/kasan/shadow.c:65 soft_cursor+0x384/0x6b4 drivers/video/fbdev/core/softcursor.c:70 bit_cursor+0x113c/0x1a64 drivers/video/fbdev/core/bitblit.c:377 fb_flashcursor+0x2d4/0x3e0 drivers/video/fbdev/core/fbcon.c:387 process_one_work+0x790/0x11b8 kernel/workqueue.c:2307 worker_thread+0x910/0x1034 kernel/workqueue.c:2454 kthread+0x37c/0x45c kernel/kthread.c:319 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 ================================================================== Unable to handle kernel paging request at virtual address dfff800000000040 Mem abort info: ESR = 0x0000000096000006 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x06: level 2 translation fault Data abort info: ISV = 0, ISS = 0x00000006 CM = 0, WnR = 0 [dfff800000000040] address between user and kernel address ranges Internal error: Oops: 96000006 [#1] PREEMPT SMP Modules linked in: CPU: 0 PID: 1843 Comm: kworker/u4:5 Tainted: G B 5.15.113-syzkaller-00204-g1fe619a7d252 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Workqueue: events_power_efficient fb_flashcursor pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : soft_cursor+0x2b4/0x6b4 drivers/video/fbdev/core/softcursor.c:61 lr : soft_cursor+0x260/0x6b4 sp : ffff800021b07880 x29: ffff800021b078c0 x28: ffff0000cb12be20 x27: dfff800000000000 x26: 0000000000000010 x25: ffff0000cb12be50 x24: 0000000000000000 x23: ffff800021b07a08 x22: 1ffff00004360f41 x21: 1fffe000196257c4 x20: 000000000000000f x19: 0000000000000200 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000 x14: 0000000000000200 x13: ffffffffffffffff x12: 0000000000000000 x11: ff8080000af15fe0 x10: 0000000000000000 x9 : 0000000000000000 x8 : 0000000000000040 x7 : 0000001000000008 x6 : 0000005000000000 x5 : ffff0000cb12be50 x4 : ffff800021b07a68 x3 : ffff80000af15f38 x2 : 0000000000000010 x1 : 0000000000000010 x0 : 0000000000000200 Call trace: soft_cursor+0x2b4/0x6b4 drivers/video/fbdev/core/softcursor.c:61 bit_cursor+0x113c/0x1a64 drivers/video/fbdev/core/bitblit.c:377 fb_flashcursor+0x2d4/0x3e0 drivers/video/fbdev/core/fbcon.c:387 process_one_work+0x790/0x11b8 kernel/workqueue.c:2307 worker_thread+0x910/0x1034 kernel/workqueue.c:2454 kthread+0x37c/0x45c kernel/kthread.c:319 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 Code: f9400393 8b130300 d343fc08 12000809 (38fb6908) ---[ end trace 0a2022cdeec4ea20 ]--- ---------------- Code disassembly (best guess): 0: f9400393 ldr x19, [x28] 4: 8b130300 add x0, x24, x19 8: d343fc08 lsr x8, x0, #3 c: 12000809 and w9, w0, #0x7 * 10: 38fb6908 ldrsb w8, [x8, x27] <-- trapping instruction