================================================================================ UBSAN: array-index-out-of-bounds in drivers/net/hamradio/6pack.c:833:16 index 400 is out of range for type 'unsigned char [400]' CPU: 1 PID: 10395 Comm: kworker/u4:8 Not tainted 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x45/0x59 lib/dump_stack.c:105 ubsan_epilogue+0x5/0x40 lib/ubsan.c:148 __ubsan_handle_out_of_bounds.cold+0x43/0x48 lib/ubsan.c:288 decode_data.part.0+0x2c7/0x2d0 drivers/net/hamradio/6pack.c:833 decode_data drivers/net/hamradio/6pack.c:953 [inline] sixpack_decode drivers/net/hamradio/6pack.c:956 [inline] sixpack_receive_buf drivers/net/hamradio/6pack.c:453 [inline] sixpack_receive_buf+0xaef/0x10c0 drivers/net/hamradio/6pack.c:430 tty_ldisc_receive_buf+0xfa/0x1c0 drivers/tty/tty_buffer.c:475 tty_port_default_receive_buf+0x5c/0x90 drivers/tty/tty_port.c:39 receive_buf drivers/tty/tty_buffer.c:491 [inline] flush_to_ldisc+0x19c/0x3d0 drivers/tty/tty_buffer.c:543 process_one_work+0x84c/0x13d0 kernel/workqueue.c:2276 worker_thread+0x598/0x1040 kernel/workqueue.c:2422 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ================================================================================ Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 10395 Comm: kworker/u4:8 Not tainted 5.14.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound flush_to_ldisc Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x45/0x59 lib/dump_stack.c:105 panic+0x256/0x4eb kernel/panic.c:232 ubsan_epilogue+0x3f/0x40 lib/ubsan.c:162 __ubsan_handle_out_of_bounds.cold+0x43/0x48 lib/ubsan.c:288 decode_data.part.0+0x2c7/0x2d0 drivers/net/hamradio/6pack.c:833 decode_data drivers/net/hamradio/6pack.c:953 [inline] sixpack_decode drivers/net/hamradio/6pack.c:956 [inline] sixpack_receive_buf drivers/net/hamradio/6pack.c:453 [inline] sixpack_receive_buf+0xaef/0x10c0 drivers/net/hamradio/6pack.c:430 tty_ldisc_receive_buf+0xfa/0x1c0 drivers/tty/tty_buffer.c:475 tty_port_default_receive_buf+0x5c/0x90 drivers/tty/tty_port.c:39 receive_buf drivers/tty/tty_buffer.c:491 [inline] flush_to_ldisc+0x19c/0x3d0 drivers/tty/tty_buffer.c:543 process_one_work+0x84c/0x13d0 kernel/workqueue.c:2276 worker_thread+0x598/0x1040 kernel/workqueue.c:2422 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Kernel Offset: disabled Rebooting in 86400 seconds..