syzbot


KMSAN: uninit-value in snd_seq_oss_synth_make_info

Status: auto-closed as invalid on 2019/05/26 08:17
Subsystems: sound
[Documentation on labels]
First crash: 1968d, last: 1968d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in snd_seq_oss_synth_make_info (2) sound 1 1193d 1188d 19/26 fixed on 2021/03/10 01:48

Sample crash report:
==================================================================
BUG: KMSAN: uninit-value in strlen lib/string.c:485 [inline]
BUG: KMSAN: uninit-value in strlcpy+0x69/0x190 lib/string.c:143
CPU: 1 PID: 8027 Comm: syz-executor2 Not tainted 4.20.0-rc3+ #95
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x32d/0x480 lib/dump_stack.c:113
 kmsan_report+0x12c/0x290 mm/kmsan/kmsan.c:683
 __msan_warning+0x76/0xc0 mm/kmsan/kmsan_instr.c:330
 strlen lib/string.c:485 [inline]
 strlcpy+0x69/0x190 lib/string.c:143
 snd_seq_oss_synth_make_info+0x2d8/0x810 sound/core/seq/oss/seq_oss_synth.c:631
 snd_seq_oss_synth_info_user sound/core/seq/oss/seq_oss_ioctl.c:37 [inline]
 snd_seq_oss_ioctl+0x1222/0x23d0 sound/core/seq/oss/seq_oss_ioctl.c:152
 odev_ioctl+0xd5/0x150 sound/core/seq/oss/seq_oss.c:187
 do_vfs_ioctl+0xfbc/0x2f70 fs/ioctl.c:46
 ksys_ioctl fs/ioctl.c:713 [inline]
 __do_sys_ioctl fs/ioctl.c:720 [inline]
 __se_sys_ioctl+0x1da/0x270 fs/ioctl.c:718
 __x64_sys_ioctl+0x4a/0x70 fs/ioctl.c:718
 do_syscall_64+0xcf/0x110 arch/x86/entry/common.c:291
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x457569
Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f67cfbe6c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569
RDX: 0000000020a07fff RSI: 00000000c08c5114 RDI: 0000000000000004
RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f67cfbe76d4
R13: 00000000004bfd32 R14: 00000000004d0670 R15: 00000000ffffffff

Local variable description: ----minf@snd_seq_oss_synth_make_info
Variable was created at:
 snd_seq_oss_synth_make_info+0xa0/0x810 sound/core/seq/oss/seq_oss_synth.c:618
 snd_seq_oss_synth_info_user sound/core/seq/oss/seq_oss_ioctl.c:37 [inline]
 snd_seq_oss_ioctl+0x1222/0x23d0 sound/core/seq/oss/seq_oss_ioctl.c:152
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/11/27 08:00 https://github.com/google/kmsan.git master fffec98ae2a6 ac912200 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.