syzbot


KMSAN: uninit-value in n_tty_receive_buf_common

Status: auto-closed as invalid on 2019/09/01 21:37
Subsystems: serial
[Documentation on labels]
First crash: 2047d, last: 2047d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in n_tty_receive_buf_common (2) serial C 591 450d 1031d 0/28 auto-obsoleted due to no activity on 2023/09/27 16:27

Sample crash report:
==================================================================
BUG: KMSAN: uninit-value in n_tty_receive_buf_common+0x485/0x5430 drivers/tty/n_tty.c:1725
CPU: 1 PID: 13340 Comm: kworker/u4:2 Not tainted 5.0.0-rc1+ #10
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+0x173/0x1d0 lib/dump_stack.c:113
 kmsan_report+0x12e/0x2a0 mm/kmsan/kmsan.c:600
 __msan_warning+0x82/0xf0 mm/kmsan/kmsan_instr.c:313
 n_tty_receive_buf_common+0x485/0x5430 drivers/tty/n_tty.c:1725
 n_tty_receive_buf2+0xc2/0xe0 drivers/tty/n_tty.c:1775
 tty_ldisc_receive_buf+0x164/0x350 drivers/tty/tty_buffer.c:461
 tty_port_default_receive_buf+0x14f/0x1e0 drivers/tty/tty_port.c:38
 receive_buf drivers/tty/tty_buffer.c:481 [inline]
 flush_to_ldisc+0x30c/0x7f0 drivers/tty/tty_buffer.c:533
 process_one_work+0x1607/0x1f80 kernel/workqueue.c:2153
 worker_thread+0x111c/0x2460 kernel/workqueue.c:2296
 kthread+0x4a1/0x4e0 kernel/kthread.c:247
 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355

Uninit was created at:
No stack
==================================================================
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 13340 Comm: kworker/u4:2 Tainted: G    B             5.0.0-rc1+ #10
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+0x173/0x1d0 lib/dump_stack.c:113
 panic+0x3d1/0xb01 kernel/panic.c:214
 kmsan_report+0x293/0x2a0 mm/kmsan/kmsan.c:620
 __msan_warning+0x82/0xf0 mm/kmsan/kmsan_instr.c:313
 n_tty_receive_buf_common+0x485/0x5430 drivers/tty/n_tty.c:1725
 n_tty_receive_buf2+0xc2/0xe0 drivers/tty/n_tty.c:1775
 tty_ldisc_receive_buf+0x164/0x350 drivers/tty/tty_buffer.c:461
 tty_port_default_receive_buf+0x14f/0x1e0 drivers/tty/tty_port.c:38
 receive_buf drivers/tty/tty_buffer.c:481 [inline]
 flush_to_ldisc+0x30c/0x7f0 drivers/tty/tty_buffer.c:533
 process_one_work+0x1607/0x1f80 kernel/workqueue.c:2153
 worker_thread+0x111c/0x2460 kernel/workqueue.c:2296
 kthread+0x4a1/0x4e0 kernel/kthread.c:247
 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:355
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/05 21:10 https://github.com/google/kmsan.git master 6c55aa96dcda 16559f86 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.