syzbot


KMSAN: uninit-value in linear_transfer (3)

Status: closed as invalid on 2019/04/12 16:05
Subsystems: sound
[Documentation on labels]
First crash: 2157d, last: 2096d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KMSAN: uninit-value in linear_transfer sound 4 2339d 2349d 0/28 closed as invalid on 2018/09/05 16:42
upstream KMSAN: uninit-value in linear_transfer (2) sound C 7 2197d 2220d 11/28 fixed on 2018/12/07 08:24

Sample crash report:
==================================================================
BUG: KMSAN: uninit-value in __arch_swab32 arch/x86/include/uapi/asm/swab.h:10 [inline]
BUG: KMSAN: uninit-value in __fswab32 include/uapi/linux/swab.h:59 [inline]
BUG: KMSAN: uninit-value in do_convert sound/core/oss/linear.c:50 [inline]
BUG: KMSAN: uninit-value in convert sound/core/oss/linear.c:81 [inline]
BUG: KMSAN: uninit-value in linear_transfer+0xa1b/0xc50 sound/core/oss/linear.c:110
CPU: 0 PID: 9850 Comm: syz-executor025 Not tainted 5.0.0-rc1+ #7
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+0x173/0x1d0 lib/dump_stack.c:113
 kmsan_report+0x12e/0x2a0 mm/kmsan/kmsan.c:600
 __msan_warning+0x82/0xf0 mm/kmsan/kmsan_instr.c:313
 __arch_swab32 arch/x86/include/uapi/asm/swab.h:10 [inline]
 __fswab32 include/uapi/linux/swab.h:59 [inline]
 do_convert sound/core/oss/linear.c:50 [inline]
 convert sound/core/oss/linear.c:81 [inline]
 linear_transfer+0xa1b/0xc50 sound/core/oss/linear.c:110
 snd_pcm_plug_read_transfer+0x3bf/0x590 sound/core/oss/pcm_plugin.c:651
 snd_pcm_oss_read2 sound/core/oss/pcm_oss.c:1480 [inline]
 snd_pcm_oss_read1 sound/core/oss/pcm_oss.c:1518 [inline]
 snd_pcm_oss_read+0xa4a/0x1960 sound/core/oss/pcm_oss.c:2758
 do_loop_readv_writev fs/read_write.c:700 [inline]
 do_iter_read+0x8e0/0xe10 fs/read_write.c:921
 vfs_readv fs/read_write.c:983 [inline]
 do_readv+0x2a7/0x620 fs/read_write.c:1016
 __do_sys_readv fs/read_write.c:1103 [inline]
 __se_sys_readv+0x9b/0xb0 fs/read_write.c:1100
 __x64_sys_readv+0x4a/0x70 fs/read_write.c:1100
 do_syscall_64+0xbc/0xf0 arch/x86/entry/common.c:291
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x449f49
Code: e8 6c b4 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 4b cd fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f1bc0249da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000013
RAX: ffffffffffffffda RBX: 00000000006dbc48 RCX: 0000000000449f49
RDX: 0000000000000001 RSI: 0000000020000180 RDI: 0000000000000003
RBP: 00000000006dbc40 R08: 00007f1bc024a700 R09: 0000000000000000
R10: 00007f1bc024a700 R11: 0000000000000246 R12: 00000000006dbc4c
R13: 7073642f7665642f R14: 00007f1bc024a9c0 R15: 00000000006dbd2c

Uninit was created at:
No stack
==================================================================

Crashes (469):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/19 10:11 https://github.com/google/kmsan.git master 02f2d5aea531 2103a236 .config console log report syz C ci-upstream-kmsan-gce
2019/03/12 22:50 https://github.com/google/kmsan.git master a695dc5e929e a71bfb62 .config console log report ci-upstream-kmsan-gce
2019/03/10 15:57 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/10 14:53 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/10 01:53 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/10 01:19 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/09 23:09 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/09 19:47 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/09 17:29 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/09 09:21 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/09 02:53 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/09 00:34 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/08 20:46 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/08 19:38 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/08 18:32 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/08 12:55 https://github.com/google/kmsan.git master a695dc5e929e 12365b99 .config console log report ci-upstream-kmsan-gce
2019/03/08 05:03 https://github.com/google/kmsan.git master a695dc5e929e 4b69c3cb .config console log report ci-upstream-kmsan-gce
2019/03/07 18:15 https://github.com/google/kmsan.git master a695dc5e929e 8c085c5e .config console log report ci-upstream-kmsan-gce
2019/03/07 09:39 https://github.com/google/kmsan.git master a695dc5e929e 8c085c5e .config console log report ci-upstream-kmsan-gce
2019/03/06 18:20 https://github.com/google/kmsan.git master a695dc5e929e 05cf83bf .config console log report ci-upstream-kmsan-gce
2019/03/06 14:56 https://github.com/google/kmsan.git master a695dc5e929e 05cf83bf .config console log report ci-upstream-kmsan-gce
2019/03/05 22:29 https://github.com/google/kmsan.git master 6c55aa96dcda 16559f86 .config console log report ci-upstream-kmsan-gce
2019/03/05 17:50 https://github.com/google/kmsan.git master 6c55aa96dcda bb91cf81 .config console log report ci-upstream-kmsan-gce
2019/03/05 09:25 https://github.com/google/kmsan.git master fa1981bee40f bb91cf81 .config console log report ci-upstream-kmsan-gce
2019/03/05 01:24 https://github.com/google/kmsan.git master fa1981bee40f 7c693b52 .config console log report ci-upstream-kmsan-gce
2019/03/04 21:41 https://github.com/google/kmsan.git master fa1981bee40f 7c693b52 .config console log report ci-upstream-kmsan-gce
2019/03/04 15:23 https://github.com/google/kmsan.git master fa1981bee40f 7c693b52 .config console log report ci-upstream-kmsan-gce
2019/03/04 12:01 https://github.com/google/kmsan.git master fa1981bee40f 7c693b52 .config console log report ci-upstream-kmsan-gce
2019/03/04 04:56 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/03 17:41 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/03 17:17 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/03 15:06 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/03 08:39 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/03 07:17 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/03 05:03 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/03 04:01 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/03 00:23 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/02 19:05 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/02 19:04 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/02 11:28 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/02 09:20 https://github.com/google/kmsan.git master fa1981bee40f 1c0e457a .config console log report ci-upstream-kmsan-gce
2019/03/02 00:59 https://github.com/google/kmsan.git master fa1981bee40f 68d9e495 .config console log report ci-upstream-kmsan-gce
2019/03/01 18:13 https://github.com/google/kmsan.git master fa1981bee40f 68d9e495 .config console log report ci-upstream-kmsan-gce
2019/03/01 15:09 https://github.com/google/kmsan.git master fa1981bee40f 8a4b3a6b .config console log report ci-upstream-kmsan-gce
2019/03/01 10:13 https://github.com/google/kmsan.git master fa1981bee40f 8a4b3a6b .config console log report ci-upstream-kmsan-gce
2019/01/10 07:37 https://github.com/google/kmsan.git master 9945cd9f64dc 45c0c1b1 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.