syzbot


KCSAN: data-race in snd_seq_oss_writeq_sync / snd_seq_oss_writeq_sync

Status: auto-closed as invalid on 2020/12/31 12:10
Subsystems: sound
[Documentation on labels]
Reported-by: syzbot+f7714adf54e43294c796@syzkaller.appspotmail.com
First crash: 1244d, last: 1244d

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

write to 0xffff88801caaf510 of 4 bytes by task 5980 on cpu 0:
 snd_seq_oss_writeq_sync+0x300/0x340 sound/core/seq/oss/seq_oss_writeq.c:112
 snd_seq_oss_ioctl+0x701/0xa70 sound/core/seq/oss/seq_oss_ioctl.c:86
 odev_ioctl+0x58/0xc0 sound/core/seq/oss/seq_oss.c:180
 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 0xffff88801caaf510 of 4 bytes by task 5984 on cpu 1:
 snd_seq_oss_writeq_sync+0x207/0x340 sound/core/seq/oss/seq_oss_writeq.c:109
 snd_seq_oss_ioctl+0x701/0xa70 sound/core/seq/oss/seq_oss_ioctl.c:86
 odev_ioctl+0x58/0xc0 sound/core/seq/oss/seq_oss.c:180
 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

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 5984 Comm: syz-executor.4 Not tainted 5.10.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/11/26 12:09 upstream fa02fcd94b0c 2f1cec62 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.