syzbot


KMSAN: uninit-value in hci_cmd_timeout

Status: auto-closed as invalid on 2020/11/07 01:27
Reported-by: syzbot+d5eabae89ae62371887f@syzkaller.appspotmail.com
First crash: 1025d, last: 880d

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in hci_cmd_timeout+0x2bd/0x2d0 net/bluetooth/hci_core.c:2732
CPU: 1 PID: 19132 Comm: kworker/1:12 Not tainted 5.7.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events hci_cmd_timeout
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x220 lib/dump_stack.c:118
 kmsan_report+0xf7/0x1e0 mm/kmsan/kmsan_report.c:121
 __msan_warning+0x58/0xa0 mm/kmsan/kmsan_instr.c:215
 hci_cmd_timeout+0x2bd/0x2d0 net/bluetooth/hci_core.c:2732
 process_one_work+0x1555/0x1f40 kernel/workqueue.c:2268
 worker_thread+0xef6/0x2450 kernel/workqueue.c:2414
 kthread+0x4b5/0x4f0 kernel/kthread.c:269
 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:353

Uninit was created at:
 kmsan_save_stack_with_flags mm/kmsan/kmsan.c:144 [inline]
 kmsan_internal_poison_shadow+0x66/0xd0 mm/kmsan/kmsan.c:127
 kmsan_slab_alloc+0x8a/0xe0 mm/kmsan/kmsan_hooks.c:80
 slab_alloc_node mm/slub.c:2802 [inline]
 slab_alloc mm/slub.c:2811 [inline]
 kmem_cache_alloc+0x711/0xd70 mm/slub.c:2816
 skb_clone+0x328/0x5d0 net/core/skbuff.c:1447
 hci_cmd_work+0x12f/0x4f0 net/bluetooth/hci_core.c:4722
 process_one_work+0x1555/0x1f40 kernel/workqueue.c:2268
 worker_thread+0xef6/0x2450 kernel/workqueue.c:2414
 kthread+0x4b5/0x4f0 kernel/kthread.c:269
 ret_from_fork+0x35/0x40 arch/x86/entry/entry_64.S:353
=====================================================

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2020/07/10 01:27 https://github.com/google/kmsan.git master f0d5ec902b23 bc238812 .config log report
ci-upstream-kmsan-gce 2020/06/02 01:33 https://github.com/google/kmsan.git master f0d5ec902b23 a0331e89 .config log report
ci-upstream-kmsan-gce 2020/02/15 15:03 https://github.com/google/kmsan.git master 686a4f77cb0c 5d7b90f1 .config log report
* Struck through repros no longer work on HEAD.