syzbot


KCSAN: data-race in io_sq_thread / io_sq_thread_park (4)

Status: auto-obsoleted due to no activity on 2023/04/20 22:18
Subsystems: io-uring
[Documentation on labels]
First crash: 464d, last: 422d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (5) io-uring 1 370d 370d 0/26 auto-obsoleted due to no activity on 2023/06/04 19:25
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park fs 13 699d 866d 0/26 auto-closed as invalid on 2022/07/10 14:43
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (8) io-uring 2 85d 111d 0/26 auto-obsoleted due to no activity on 2024/03/15 14:43
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (2) io-uring 5 627d 663d 0/26 auto-closed as invalid on 2022/09/20 09:21
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (6) io-uring 4 271d 317d 0/26 auto-obsoleted due to no activity on 2023/09/11 04:02
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (7) io-uring 2 163d 146d 0/26 auto-obsoleted due to no activity on 2023/12/28 08:55
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (3) io-uring 2 560d 587d 0/26 auto-obsoleted due to no activity on 2022/11/26 22:35

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

write to 0xffff888107d69db8 of 8 bytes by task 17320 on cpu 0:
 io_sq_thread+0xa89/0xb10 io_uring/sqpoll.c:305
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

read to 0xffff888107d69db8 of 8 bytes by task 4568 on cpu 1:
 io_sq_thread_park+0x1b/0x80 io_uring/sqpoll.c:45
 io_ring_exit_work+0x178/0x4c0 io_uring/io_uring.c:2989
 process_one_work+0x3e6/0x750 kernel/workqueue.c:2390
 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2537
 kthread+0x1ac/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308

value changed: 0xffff88811f476ec0 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 4568 Comm: kworker/u4:7 Not tainted 6.3.0-rc1-syzkaller-00019-g6a98c9cae232 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: events_unbound io_ring_exit_work
==================================================================

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/03/09 03:55 upstream 6a98c9cae232 4fc6d98d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2023/03/04 19:21 upstream 0988a0ea7919 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2023/02/20 22:28 upstream 91bc559d8d3a 2414209c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2023/01/26 21:42 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
* Struck through repros no longer work on HEAD.