syzbot


KCSAN: data-race in futex_wait_queue_me / io_commit_cqring

Status: auto-closed as invalid on 2021/03/12 01:16
Subsystems: kernel
[Documentation on labels]
First crash: 1453d, last: 1453d

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

write to 0xffff888105f1502c of 4 bytes by task 18081 on cpu 1:
 freezer_do_not_count include/linux/freezer.h:109 [inline]
 freezable_schedule include/linux/freezer.h:171 [inline]
 futex_wait_queue_me+0x186/0x250 kernel/futex.c:2606
 futex_wait+0x145/0x3d0 kernel/futex.c:2708
 do_futex+0x105d/0x1cc0 kernel/futex.c:3736
 __do_sys_futex kernel/futex.c:3799 [inline]
 __se_sys_futex+0x2a8/0x390 kernel/futex.c:3765
 __x64_sys_futex+0x74/0x80 kernel/futex.c:3765
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888105f1502c of 4 bytes by task 18153 on cpu 0:
 io_req_task_work_add fs/io_uring.c:2153 [inline]
 io_req_task_queue fs/io_uring.c:2226 [inline]
 __io_queue_deferred fs/io_uring.c:1642 [inline]
 io_commit_cqring+0x5cd/0x6c0 fs/io_uring.c:1689
 io_cqring_add_event fs/io_uring.c:1893 [inline]
 __io_req_complete+0xe0/0x1b0 fs/io_uring.c:1936
 io_req_complete fs/io_uring.c:1950 [inline]
 io_openat2+0xfa/0x580 fs/io_uring.c:4140
 io_issue_sqe+0xc5a/0x4220 fs/io_uring.c:6328
 io_wq_submit_work+0x25c/0x4a0 fs/io_uring.c:6397
 io_worker_handle_work+0xcc1/0x1010 fs/io-wq.c:565
 io_wqe_worker+0x221/0x880 fs/io-wq.c:607
 kthread+0x20b/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 18153 Comm: io_wqe_worker-0 Not tainted 5.11.0-rc6-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
2021/02/05 01:15 upstream 5c279c4cf206 23a562df .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in futex_wait_queue_me / io_commit_cqring
* Struck through repros no longer work on HEAD.