syzbot


KMSAN: uninit-value in read_descriptors

Status: auto-closed as invalid on 2022/06/06 09:45
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 273d, last: 273d

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in read_descriptors+0x83b/0x950 drivers/usb/core/sysfs.c:890
 read_descriptors+0x83b/0x950 drivers/usb/core/sysfs.c:890
 sysfs_kf_bin_read+0x4ce/0x540 fs/sysfs/file.c:97
 kernfs_file_read_iter fs/kernfs/file.c:213 [inline]
 kernfs_fop_read_iter+0x4c7/0xaa0 fs/kernfs/file.c:242
 call_read_iter include/linux/fs.h:2068 [inline]
 new_sync_read fs/read_write.c:400 [inline]
 vfs_read+0x1631/0x1980 fs/read_write.c:481
 ksys_read+0x28b/0x510 fs/read_write.c:619
 __do_sys_read fs/read_write.c:629 [inline]
 __se_sys_read fs/read_write.c:627 [inline]
 __x64_sys_read+0xdb/0x120 fs/read_write.c:627
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x54/0xd0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Uninit was created at:
 slab_post_alloc_hook mm/slab.h:737 [inline]
 slab_alloc_node mm/slub.c:3247 [inline]
 __kmalloc_node_track_caller+0xe0c/0x1510 mm/slub.c:4975
 kmalloc_reserve net/core/skbuff.c:354 [inline]
 __alloc_skb+0x545/0xf90 net/core/skbuff.c:426
 __netdev_alloc_skb+0x4b9/0x8c0 net/core/skbuff.c:494
 __netdev_alloc_skb_ip_align include/linux/skbuff.h:2968 [inline]
 netdev_alloc_skb_ip_align include/linux/skbuff.h:2978 [inline]
 batadv_iv_ogm_aggregate_new net/batman-adv/bat_iv_ogm.c:559 [inline]
 batadv_iv_ogm_queue_add+0x1421/0x1ca0 net/batman-adv/bat_iv_ogm.c:671
 batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:850 [inline]
 batadv_iv_ogm_schedule+0x124e/0x1680 net/batman-adv/bat_iv_ogm.c:869
 batadv_iv_send_outstanding_bat_ogm_packet+0xd9a/0xf40 net/batman-adv/bat_iv_ogm.c:1713
 process_one_work+0xdb6/0x1820 kernel/workqueue.c:2307
 worker_thread+0x10b3/0x21e0 kernel/workqueue.c:2454
 kthread+0x3c7/0x500 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30

CPU: 0 PID: 9531 Comm: udevd Tainted: G        W         5.17.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
=====================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kmsan-gce 2022/03/08 09:43 https://github.com/google/kmsan.git master 724946410067 7bdd8b2c .config log report info KMSAN: uninit-value in read_descriptors
* Struck through repros no longer work on HEAD.