syzbot


KMSAN: uninit-value in __vmalloc_node_range

Status: auto-closed as invalid on 2022/04/17 19:38
Subsystems: block
[Documentation on labels]
First crash: 906d, last: 861d
Similar bugs (12)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in snd_pcm_hw_rule_add (2) sound 18 711d 978d 0/26 auto-closed as invalid on 2022/09/15 02:38
upstream KMSAN: uninit-value in seq_printf (2) fs C 99 712d 979d 0/26 auto-closed as invalid on 2022/09/30 02:43
upstream KMSAN: uninit-value in nsim_udp_tunnel_unset_port kernel C 114 844d 923d 0/26 auto-closed as invalid on 2022/09/27 06:37
upstream KMSAN: uninit-value in number (4) kernel C 7189 552d 930d 0/26 closed as invalid on 2022/11/28 10:01
upstream KMSAN: uninit-value in p9pdu_vwritef v9fs 544 642d 872d 0/26 auto-obsoleted due to no activity on 2022/11/22 23:51
upstream KMSAN: uninit-value in ptr_to_id fs C 5 868d 889d 0/26 auto-closed as invalid on 2022/09/27 03:12
upstream KMSAN: kernel-infoleak in _copy_to_iter (6) net C 748 811d 901d 20/26 fixed on 2022/03/08 16:11
upstream KMSAN: uninit-value in esp6_init_state net 2 862d 911d 0/26 auto-closed as invalid on 2022/04/16 22:31
upstream KMSAN: uninit-value in hid_connect kernel C 176 573d 923d 0/26 closed as invalid on 2022/11/03 08:52
upstream KMSAN: uninit-value in preempt_count_add kernel C 6657 597d 597d 0/26 closed as invalid on 2022/10/10 13:29
upstream KMSAN: kernel-infoleak in _copy_to_iter (7) net C 138977 459d 811d 22/26 fixed on 2023/02/24 13:50
upstream KMSAN: uninit-value in profile_hits (3) kernel C 939 1h27m 153d 0/26 upstream: reported C repro on 2023/12/26 15:59

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