syzbot


KCSAN: data-race in snd_pcm_oss_ioctl / snd_pcm_oss_poll

Status: auto-closed as invalid on 2020/04/08 19:57
Subsystems: sound
[Documentation on labels]
First crash: 1534d, last: 1520d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in snd_pcm_oss_ioctl / snd_pcm_oss_poll

read to 0xffff8881225acb00 of 1 bytes by task 19616 on cpu 0:
 snd_pcm_oss_poll+0x22a/0x5d0 sound/core/oss/pcm_oss.c:2825
 vfs_poll include/linux/poll.h:90 [inline]
 do_select+0x7d0/0x1020 fs/select.c:534
 core_sys_select+0x312/0x650 fs/select.c:677
 do_pselect.constprop.0+0x11d/0x160 fs/select.c:759
 __do_sys_pselect6 fs/select.c:784 [inline]
 __se_sys_pselect6 fs/select.c:769 [inline]
 __x64_sys_pselect6+0x12e/0x170 fs/select.c:769
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

write to 0xffff8881225acb00 of 1 bytes by task 19623 on cpu 1:
 snd_pcm_oss_set_fragment1 sound/core/oss/pcm_oss.c:1947 [inline]
 snd_pcm_oss_set_fragment sound/core/oss/pcm_oss.c:1965 [inline]
 snd_pcm_oss_ioctl+0x1171/0x2090 sound/core/oss/pcm_oss.c:2652
 vfs_ioctl fs/ioctl.c:47 [inline]
 file_ioctl fs/ioctl.c:545 [inline]
 do_vfs_ioctl+0x84f/0xcf0 fs/ioctl.c:732
 ksys_ioctl+0xbd/0xe0 fs/ioctl.c:749
 __do_sys_ioctl fs/ioctl.c:756 [inline]
 __se_sys_ioctl fs/ioctl.c:754 [inline]
 __x64_sys_ioctl+0x4c/0x60 fs/ioctl.c:754
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

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

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/29 19:50 https://github.com/google/ktsan.git kcsan 245a43005292 5ed23f9a .config console log report ci2-upstream-kcsan-gce
2020/01/15 01:02 https://github.com/google/ktsan.git kcsan 245a43005292 fa12bd3c .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.