syzbot


KMSAN: uninit-value in __vmalloc_node_range

Status: auto-closed as invalid on 2022/04/17 19:38
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 419d, last: 374d
similar bugs (11):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in snd_pcm_hw_rule_add (2) 18 224d 491d 0/24 auto-closed as invalid on 2022/09/15 02:38
upstream KMSAN: uninit-value in seq_printf (2) C 99 226d 492d 0/24 auto-closed as invalid on 2022/09/30 02:43
upstream KMSAN: uninit-value in nsim_udp_tunnel_unset_port C 114 357d 436d 0/24 auto-closed as invalid on 2022/09/27 06:37
upstream KMSAN: uninit-value in number (4) C 7189 65d 443d 0/24 closed as invalid on 2022/11/28 10:01
upstream KMSAN: uninit-value in p9pdu_vwritef 544 155d 385d 0/24 auto-obsoleted due to no activity on 2022/11/22 23:51
upstream KMSAN: uninit-value in ptr_to_id C 5 381d 402d 0/24 auto-closed as invalid on 2022/09/27 03:12
upstream KMSAN: kernel-infoleak in _copy_to_iter (6) C 748 325d 414d 22/24 fixed on 2022/03/08 16:11
upstream KMSAN: uninit-value in esp6_init_state 2 375d 424d 0/24 auto-closed as invalid on 2022/04/16 22:31
upstream KMSAN: uninit-value in hid_connect C 176 86d 436d 0/24 closed as invalid on 2022/11/03 08:52
upstream KMSAN: uninit-value in preempt_count_add C 6657 110d 110d 0/24 closed as invalid on 2022/10/10 13:29
upstream KMSAN: kernel-infoleak in _copy_to_iter (7) btrfs ntfs3 erofs udf C 135401 5m 324d 23/24 internal: reported C repro on 2022/03/09 07:32

Sample crash report:
=====================================================
BUG: KMSAN: uninit-value in check_pointer lib/vsprintf.c:705 [inline]
BUG: KMSAN: uninit-value in bitmap_list_string+0x47e/0xaa0 lib/vsprintf.c:1248
 check_pointer lib/vsprintf.c:705 [inline]
 bitmap_list_string+0x47e/0xaa0 lib/vsprintf.c:1248
 pointer+0x11aa/0x2060 lib/vsprintf.c:2411
 vsnprintf+0x1a9b/0x3650 lib/vsprintf.c:2809
 vprintk_store+0x537/0x2150 kernel/printk/printk.c:2135
 vprintk_emit+0x25c/0x950 kernel/printk/printk.c:2229
 vprintk_default+0x86/0xa0 kernel/printk/printk.c:2256
 vprintk+0x15f/0x180 kernel/printk/printk_safe.c:50
 _printk+0x18d/0x1cf kernel/printk/printk.c:2266
 warn_alloc+0x49e/0x690 mm/page_alloc.c:4230
 __vmalloc_area_node mm/vmalloc.c:2980 [inline]
 __vmalloc_node_range+0x1290/0x17b0 mm/vmalloc.c:3081
 __vmalloc_node mm/vmalloc.c:3130 [inline]
 vzalloc+0xe0/0xf0 mm/vmalloc.c:3200
 allocate_partitions block/partitions/core.c:108 [inline]
 check_partition block/partitions/core.c:130 [inline]
 blk_add_partitions block/partitions/core.c:613 [inline]
 bdev_disk_changed+0xb0d/0x2d10 block/partitions/core.c:699
 loop_reread_partitions drivers/block/loop.c:517 [inline]
 loop_set_status+0x1134/0x13b0 drivers/block/loop.c:1310
 lo_ioctl+0x23dd/0x3f40
 blkdev_ioctl+0x572/0xdc0 block/ioctl.c:609
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0x2df/0x4a0 fs/ioctl.c:860
 __x64_sys_ioctl+0xd8/0x110 fs/ioctl.c:860
 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

Local variable timer created at:
 schedule_timeout+0x57/0x5d0 kernel/time/timer.c:1844
 do_wait_for_common kernel/sched/completion.c:85 [inline]
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common+0x314/0x660 kernel/sched/completion.c:117

CPU: 1 PID: 10783 Comm: syz-executor.4 Not tainted 5.16.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
=====================================================

Crashes (5):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kmsan-gce 2022/01/17 19:37 https://github.com/google/kmsan.git master fa3879a274df 731a2d23 .config console log report info KMSAN: uninit-value in __vmalloc_node_range
ci-upstream-kmsan-gce 2022/01/16 22:36 https://github.com/google/kmsan.git master fa3879a274df 723cfaf0 .config console log report info KMSAN: uninit-value in __vmalloc_node_range
ci-upstream-kmsan-gce 2022/01/01 15:18 https://github.com/google/kmsan.git master 81c325bbf94e e1768e9c .config console log report info KMSAN: uninit-value in __vmalloc_node_range
ci-upstream-kmsan-gce 2021/12/23 00:56 https://github.com/google/kmsan.git master 81c325bbf94e 6caa12e4 .config console log report info KMSAN: uninit-value in __vmalloc_node_range
ci-upstream-kmsan-gce 2021/12/03 21:09 https://github.com/google/kmsan.git master 093998ececa3 c7c20675 .config console log report info KMSAN: uninit-value in __vmalloc_node_range
* Struck through repros no longer work on HEAD.