syzbot


KCSAN: data-race in __snd_pcm_lib_xfer / snd_pcm_oss_sync

Status: auto-closed as invalid on 2020/10/23 21:56
Subsystems: sound
[Documentation on labels]
First crash: 1286d, last: 1286d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __snd_pcm_lib_xfer / snd_pcm_oss_sync (3) sound 1 1088d 1088d 0/26 auto-closed as invalid on 2021/05/10 05:27
upstream KCSAN: data-race in __snd_pcm_lib_xfer / snd_pcm_oss_sync (2) sound 1 1241d 1206d 0/26 auto-closed as invalid on 2020/12/21 11:15

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __snd_pcm_lib_xfer / snd_pcm_oss_sync

write to 0xffff888218338540 of 4 bytes by task 11645 on cpu 0:
 snd_pcm_oss_sync+0x9b/0x680 sound/core/oss/pcm_oss.c:1696
 snd_pcm_oss_ioctl+0x613/0x2970 sound/core/oss/pcm_oss.c:2590
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:753 [inline]
 __se_sys_ioctl+0xcb/0x140 fs/ioctl.c:739
 __x64_sys_ioctl+0x3f/0x50 fs/ioctl.c:739
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888218338540 of 4 bytes by task 11639 on cpu 1:
 __snd_pcm_lib_xfer+0x287/0x10e0 sound/core/pcm_lib.c:2168
 snd_pcm_oss_write3+0x192/0x220 sound/core/oss/pcm_oss.c:1221
 io_playback_transfer+0x7a/0x2e0 sound/core/oss/io.c:47
 snd_pcm_plug_write_transfer+0x1dc/0x370 sound/core/oss/pcm_plugin.c:624
 snd_pcm_oss_write2+0xe0/0x250 sound/core/oss/pcm_oss.c:1353
 snd_pcm_oss_write1 sound/core/oss/pcm_oss.c:1419 [inline]
 snd_pcm_oss_write+0x313/0x890 sound/core/oss/pcm_oss.c:2765
 vfs_write+0x1df/0x6f0 fs/read_write.c:576
 ksys_write+0xce/0x180 fs/read_write.c:631
 __do_sys_write fs/read_write.c:643 [inline]
 __se_sys_write fs/read_write.c:640 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:640
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 11639 Comm: syz-executor.2 Not tainted 5.9.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/18 21:53 upstream 92ab97adeefc 53ce8104 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.