syzbot


KCSAN: data-race in do_mq_timedreceive / do_mq_timedsend

Status: auto-obsoleted due to no activity on 2024/05/07 16:09
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+9034accaa94b7b706f53@syzkaller.appspotmail.com
First crash: 185d, last: 185d

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

write to 0xffff8881103fabd8 of 8 bytes by task 13097 on cpu 0:
 do_mq_timedsend+0x310/0xa10 ipc/mqueue.c:1133
 __do_sys_mq_timedsend ipc/mqueue.c:1294 [inline]
 __se_sys_mq_timedsend ipc/mqueue.c:1283 [inline]
 __x64_sys_mq_timedsend+0xca/0x150 ipc/mqueue.c:1283
 do_syscall_64+0xd3/0x1d0
 entry_SYSCALL_64_after_hwframe+0x72/0x7a

read to 0xffff8881103fabd8 of 8 bytes by task 13096 on cpu 1:
 do_mq_timedreceive+0x207/0x6e0 ipc/mqueue.c:1230
 __do_sys_mq_timedreceive ipc/mqueue.c:1308 [inline]
 __se_sys_mq_timedreceive ipc/mqueue.c:1297 [inline]
 __x64_sys_mq_timedreceive+0xca/0x150 ipc/mqueue.c:1297
 do_syscall_64+0xd3/0x1d0
 entry_SYSCALL_64_after_hwframe+0x72/0x7a

value changed: 0x0000000000000000 -> 0xffff888120be53c0

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 13096 Comm: syz-executor.3 Tainted: G        W          6.9.0-rc2-syzkaller-00002-g026e680b0a08 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/02 16:08 upstream 026e680b0a08 eb2966c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in do_mq_timedreceive / do_mq_timedsend
* Struck through repros no longer work on HEAD.