syzbot


KCSAN: data-race in futex_wait_queue_me / io_fail_links (2)

Status: auto-closed as invalid on 2021/03/17 08:38
Subsystems: kernel
[Documentation on labels]
First crash: 1208d, last: 1165d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in futex_wait_queue_me / io_fail_links kernel 2 1244d 1230d 0/26 auto-closed as invalid on 2020/12/27 22:02

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

write to 0xffff88813a59b02c of 4 bytes by task 17438 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 0xffff88813a59b02c of 4 bytes by task 17447 on cpu 0:
 io_req_task_work_add fs/io_uring.c:2153 [inline]
 io_free_req_deferred fs/io_uring.c:2354 [inline]
 io_put_req_deferred fs/io_uring.c:2367 [inline]
 io_fail_links+0x14d/0x380 fs/io_uring.c:2107
 __io_req_find_next fs/io_uring.c:2135 [inline]
 io_req_find_next fs/io_uring.c:2143 [inline]
 io_steal_work fs/io_uring.c:2382 [inline]
 io_wq_submit_work+0x492/0x4a0 fs/io_uring.c:6437
 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: 17447 Comm: io_wqe_worker-0 Not tainted 5.11.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/02/10 08:35 upstream e0756cfc7d7c 9c8b8541 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in futex_wait_queue_me / io_fail_links
2021/02/04 13:33 upstream 61556703b610 42b90a7c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in futex_wait_queue_me / io_fail_links
2021/01/21 14:12 upstream 9791581c049c d4f4eca5 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in futex_wait_queue_me / io_fail_links
2020/12/28 19:27 upstream 5c8fe583cce5 8259d56c .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.