syzbot


KCSAN: data-race in __snd_pcm_lib_xfer / snd_pcm_oss_set_trigger (3)

Status: auto-closed as invalid on 2021/05/18 12:52
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 481d, last: 481d
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_set_trigger (2) 1 551d 551d 0/23 auto-closed as invalid on 2021/03/08 20:50
upstream KCSAN: data-race in __snd_pcm_lib_xfer / snd_pcm_oss_set_trigger 1 634d 608d 0/23 auto-closed as invalid on 2020/12/21 11:59

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

write to 0xffff88810ed0a8b8 of 8 bytes by task 16973 on cpu 1:
 snd_pcm_oss_set_trigger+0x38f/0x490 sound/core/oss/pcm_oss.c:2105
 snd_pcm_oss_ioctl+0xd0b/0x29d0 sound/core/oss/pcm_oss.c:2690
 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/0xae

read to 0xffff88810ed0a8b8 of 8 bytes by task 16965 on cpu 0:
 __snd_pcm_lib_xfer+0x41b/0x11e0 sound/core/pcm_lib.c:2185
 snd_pcm_oss_read3+0x2a1/0x390 sound/core/oss/pcm_oss.c:1266
 snd_pcm_oss_read2 sound/core/oss/pcm_oss.c:1477 [inline]
 snd_pcm_oss_read1 sound/core/oss/pcm_oss.c:1505 [inline]
 snd_pcm_oss_read+0x610/0x8e0 sound/core/oss/pcm_oss.c:2752
 vfs_read+0x154/0x5d0 fs/read_write.c:494
 ksys_read+0xce/0x180 fs/read_write.c:634
 __do_sys_read fs/read_write.c:644 [inline]
 __se_sys_read fs/read_write.c:642 [inline]
 __x64_sys_read+0x3e/0x50 fs/read_write.c:642
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 16965 Comm: syz-executor.5 Not tainted 5.12.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/04/13 12:49 upstream 89698becf06d 6a81331a .config log report info KCSAN: data-race in __snd_pcm_lib_xfer / snd_pcm_oss_set_trigger