================================================================================ UBSAN: Undefined behaviour in drivers/net/hamradio/6pack.c:845:16 index 400 is out of range for type 'unsigned char [400]' CPU: 0 PID: 1358 Comm: kworker/u4:3 Not tainted 5.3.0-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:77 [inline] dump_stack+0x86/0xca lib/dump_stack.c:113 ubsan_epilogue+0xd/0x3a lib/ubsan.c:158 __ubsan_handle_out_of_bounds+0x70/0x80 lib/ubsan.c:365 decode_data+0x338/0x390 drivers/net/hamradio/6pack.c:845 sixpack_decode drivers/net/hamradio/6pack.c:968 [inline] sixpack_receive_buf+0x778/0x1056 drivers/net/hamradio/6pack.c:458 tty_ldisc_receive_buf+0xff/0x1b0 drivers/tty/tty_buffer.c:465 tty_port_default_receive_buf+0x5f/0x90 drivers/tty/tty_port.c:38 receive_buf drivers/tty/tty_buffer.c:481 [inline] flush_to_ldisc+0x1aa/0x3a0 drivers/tty/tty_buffer.c:533 process_one_work+0x7d4/0x1630 kernel/workqueue.c:2269 worker_thread+0x85/0xb60 kernel/workqueue.c:2415 kthread+0x331/0x3f0 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 ================================================================================ ================================================================================ UBSAN: Undefined behaviour in drivers/net/hamradio/6pack.c:847:16 index 401 is out of range for type 'unsigned char [400]' CPU: 0 PID: 1358 Comm: kworker/u4:3 Not tainted 5.3.0-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:77 [inline] dump_stack+0x86/0xca lib/dump_stack.c:113 ubsan_epilogue+0xd/0x3a lib/ubsan.c:158 __ubsan_handle_out_of_bounds+0x70/0x80 lib/ubsan.c:365 decode_data+0x36c/0x390 drivers/net/hamradio/6pack.c:847 sixpack_decode drivers/net/hamradio/6pack.c:968 [inline] sixpack_receive_buf+0x778/0x1056 drivers/net/hamradio/6pack.c:458 tty_ldisc_receive_buf+0xff/0x1b0 drivers/tty/tty_buffer.c:465 tty_port_default_receive_buf+0x5f/0x90 drivers/tty/tty_port.c:38 receive_buf drivers/tty/tty_buffer.c:481 [inline] flush_to_ldisc+0x1aa/0x3a0 drivers/tty/tty_buffer.c:533 process_one_work+0x7d4/0x1630 kernel/workqueue.c:2269 worker_thread+0x85/0xb60 kernel/workqueue.c:2415 kthread+0x331/0x3f0 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 ================================================================================ ================================================================================ UBSAN: Undefined behaviour in drivers/net/hamradio/6pack.c:843:16 index 402 is out of range for type 'unsigned char [400]' CPU: 0 PID: 1358 Comm: kworker/u4:3 Not tainted 5.3.0-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:77 [inline] dump_stack+0x86/0xca lib/dump_stack.c:113 ubsan_epilogue+0xd/0x3a lib/ubsan.c:158 __ubsan_handle_out_of_bounds+0x70/0x80 lib/ubsan.c:365 decode_data+0x2f4/0x390 drivers/net/hamradio/6pack.c:843 sixpack_decode drivers/net/hamradio/6pack.c:968 [inline] sixpack_receive_buf+0x778/0x1056 drivers/net/hamradio/6pack.c:458 tty_ldisc_receive_buf+0xff/0x1b0 drivers/tty/tty_buffer.c:465 tty_port_default_receive_buf+0x5f/0x90 drivers/tty/tty_port.c:38 receive_buf drivers/tty/tty_buffer.c:481 [inline] flush_to_ldisc+0x1aa/0x3a0 drivers/tty/tty_buffer.c:533 process_one_work+0x7d4/0x1630 kernel/workqueue.c:2269 worker_thread+0x85/0xb60 kernel/workqueue.c:2415 kthread+0x331/0x3f0 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 ================================================================================