RIP: 0010:devkmsg_poll+0xdf/0x180 kernel/printk/printk.c:833 Code: 8b 3d d5 8b 14 09 e8 f0 8d 00 00 84 c0 75 23 48 c7 c7 40 a2 75 8a e8 a0 31 ea 06 e8 fb 50 00 00 e8 b6 14 1a 00 fb 48 83 c4 08 <44> 89 e0 5b 5d 41 5c c3 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 RSP: 27a5d400:ffff888027a5d400 EFLAGS: ffffc900015ffc30 ORIG_RAX: ffffffff883c8f10 RAX: 0000000000000006 RBX: 0000000041b58ab3 RCX: 1ffff920002bff82 ================================================================== BUG: KASAN: stack-out-of-bounds in __show_regs.cold+0xa8/0x508 arch/x86/kernel/process_64.c:82 Read of size 8 at addr ffffc900015ffc18 by task ksoftirqd/1/18 CPU: 1 PID: 18 Comm: ksoftirqd/1 Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0xa5/0xe6 lib/dump_stack.c:120 print_address_description.constprop.0.cold+0x5/0x2f8 mm/kasan/report.c:230 __kasan_report mm/kasan/report.c:396 [inline] kasan_report.cold+0x79/0xd5 mm/kasan/report.c:413 __show_regs.cold+0xa8/0x508 arch/x86/kernel/process_64.c:82 show_trace_log_lvl+0x25b/0x2ba arch/x86/kernel/dumpstack.c:298 sched_show_task kernel/sched/core.c:7327 [inline] sched_show_task+0x443/0x590 kernel/sched/core.c:7301 show_state_filter+0xf2/0x2d0 kernel/sched/core.c:7370 kbd_keycode drivers/tty/vt/keyboard.c:1512 [inline] kbd_event+0x6fe/0x13a0 drivers/tty/vt/keyboard.c:1531 input_to_handler+0x336/0x4a0 drivers/input/input.c:118 input_pass_values.part.0+0x1be/0x550 drivers/input/input.c:145 input_pass_values drivers/input/input.c:134 [inline] input_handle_event+0x215/0x1160 drivers/input/input.c:415 input_event drivers/input/input.c:446 [inline] input_event+0x54/0x80 drivers/input/input.c:438 hidinput_hid_event+0x3a7/0x1700 drivers/hid/hid-input.c:1405 hid_process_event+0x358/0x590 drivers/hid/hid-core.c:1519 hid_input_field drivers/hid/hid-core.c:1577 [inline] hid_report_raw_event+0xa18/0xfe0 drivers/hid/hid-core.c:1783 hid_input_report+0x26f/0x4b0 drivers/hid/hid-core.c:1850 hid_irq_in+0x4b0/0x620 drivers/hid/usbhid/hid-core.c:284 __usb_hcd_giveback_urb+0x238/0x3f0 drivers/usb/core/hcd.c:1656 dummy_timer+0xeb8/0x2eb0 drivers/usb/gadget/udc/dummy_hcd.c:1971 call_timer_fn+0x163/0x4b0 kernel/time/timer.c:1431 expire_timers kernel/time/timer.c:1476 [inline] __run_timers.part.0+0x52a/0x8b0 kernel/time/timer.c:1745 __run_timers kernel/time/timer.c:1726 [inline] run_timer_softirq+0x9c/0x190 kernel/time/timer.c:1758 __do_softirq+0x29b/0x9f6 kernel/softirq.c:343 run_ksoftirqd kernel/softirq.c:650 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:642 smpboot_thread_fn+0x561/0x8e0 kernel/smpboot.c:165 kthread+0x36f/0x450 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Memory state around the buggy address: ffffc900015ffb00: f1 f1 04 f2 00 f2 f2 f2 00 00 00 f3 f3 f3 f3 f3 ffffc900015ffb80: 00 00 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 >ffffc900015ffc00: f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffffc900015ffc80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffc900015ffd00: 00 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 ==================================================================