syzbot


KMSAN: uninit-value in stack_trace_print

Status: auto-obsoleted due to no activity on 2023/05/29 04:23
Subsystems: kernel
[Documentation on labels]
First crash: 429d, last: 429d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in hid_connect kernel C 176 547d 897d 0/26 closed as invalid on 2022/11/03 08:52
upstream KMSAN: kernel-infoleak in _copy_to_iter (7) net C 138977 432d 784d 22/26 fixed on 2023/02/24 13:50

Sample crash report:
unregister_netdevice: waiting for bond7 to become free. Usage count = 2
leaked reference.
=====================================================
BUG: KMSAN: uninit-value in stack_trace_print+0xfd/0x110 kernel/stacktrace.c:33
 stack_trace_print+0xfd/0x110 kernel/stacktrace.c:33
 stack_depot_print+0x59/0x60 lib/stackdepot.c:351
 ref_tracker_dir_print+0x160/0x2b0 lib/ref_tracker.c:57
 netdev_wait_allrefs_any net/core/dev.c:10260 [inline]
 netdev_run_todo+0x1121/0x1920 net/core/dev.c:10333
 rtnl_unlock+0x17/0x20 net/core/rtnetlink.c:148
 default_device_exit_batch+0xb5f/0xc20 net/core/dev.c:11341
 ops_exit_list net/core/net_namespace.c:174 [inline]
 cleanup_net+0xdea/0x18e0 net/core/net_namespace.c:613
 process_one_work+0xb0d/0x1410 kernel/workqueue.c:2289
 worker_thread+0x107b/0x1d60 kernel/workqueue.c:2436
 kthread+0x31f/0x430 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

Local variable stat.i.i created at:
 __do_compat_sys_newfstat fs/stat.c:757 [inline]
 __se_compat_sys_newfstat fs/stat.c:754 [inline]
 __ia32_compat_sys_newfstat+0x87/0x330 fs/stat.c:754
 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
 __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178

CPU: 0 PID: 21007 Comm: kworker/u4:0 Tainted: G        W          6.2.0-syzkaller-81152-g97e36f4aa06f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023
Workqueue: netns cleanup_net
=====================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/28 04:16 https://github.com/google/kmsan.git master 97e36f4aa06f 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386 KMSAN: uninit-value in stack_trace_print
* Struck through repros no longer work on HEAD.