syzbot


upstream boot error: KMSAN: uninit-value in unregister_blkdev

Status: closed as invalid on 2023/05/11 07:59
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+a66467b3864e82f8559f@syzkaller.appspotmail.com
First crash: 419d, last: 419d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] upstream boot error: KMSAN: uninit-value in unregister_blkdev 2 (3) 2023/05/11 07:59

Sample crash report:
floppy0: no floppy controllers found
work still pending
=====================================================
BUG: KMSAN: uninit-value in strcmp+0xcf/0x120 lib/string.c:283
 strcmp+0xcf/0x120 lib/string.c:283
 unregister_blkdev+0x142/0x270 block/genhd.c:293
 do_floppy_init+0x4d3/0x15f0 drivers/block/floppy.c:4751
 floppy_async_init+0x17/0x20 drivers/block/floppy.c:4767
 async_run_entry_fn+0x97/0x420 kernel/async.c:127
 process_one_work+0xb0d/0x1410 kernel/workqueue.c:2405
 worker_thread+0x107e/0x1d60 kernel/workqueue.c:2552
 kthread+0x3e8/0x540 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

Uninit was created at:
 slab_post_alloc_hook+0x12d/0xb60 mm/slab.h:716
 slab_alloc_node mm/slub.c:3451 [inline]
 __kmem_cache_alloc_node+0x4ff/0x8b0 mm/slub.c:3490
 kmalloc_trace+0x51/0x200 mm/slab_common.c:1057
 kmalloc include/linux/slab.h:559 [inline]
 __register_blkdev+0x1a9/0x650 block/genhd.c:246
 do_floppy_init+0x420/0x15f0 drivers/block/floppy.c:4604
 floppy_async_init+0x17/0x20 drivers/block/floppy.c:4767
 async_run_entry_fn+0x97/0x420 kernel/async.c:127
 process_one_work+0xb0d/0x1410 kernel/workqueue.c:2405
 worker_thread+0x107e/0x1d60 kernel/workqueue.c:2552
 kthread+0x3e8/0x540 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

CPU: 1 PID: 39 Comm: kworker/u4:3 Not tainted 6.4.0-rc1-syzkaller-00012-g16a8829130ca #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Workqueue: events_unbound async_run_entry_fn

=====================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/10 11:57 upstream 16a8829130ca 14b12a99 .config console log report ci-upstream-kmsan-gce upstream boot error: KMSAN: uninit-value in unregister_blkdev
2023/05/10 11:56 upstream 16a8829130ca 14b12a99 .config console log report ci-upstream-kmsan-gce upstream boot error: KMSAN: uninit-value in unregister_blkdev
* Struck through repros no longer work on HEAD.