syzbot


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

Status: auto-obsoleted due to no activity on 2022/11/26 22:35
Subsystems: io-uring
[Documentation on labels]
First crash: 579d, last: 552d
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 362d 362d 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 691d 858d 0/26 auto-closed as invalid on 2022/07/10 14:43
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (4) io-uring 4 414d 456d 0/26 auto-obsoleted due to no activity on 2023/04/20 22:18
upstream KCSAN: data-race in io_sq_thread / io_sq_thread_park (8) io-uring 2 77d 103d 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 619d 655d 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 263d 309d 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 155d 137d 0/26 auto-obsoleted due to no activity on 2023/12/28 08:55

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

write to 0xffff88811ce0c938 of 8 bytes by task 13448 on cpu 0:
 io_sq_thread+0xa5a/0xae0 io_uring/sqpoll.c:305
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306

read to 0xffff88811ce0c938 of 8 bytes by task 1831 on cpu 1:
 io_sq_thread_park+0x17/0x70 io_uring/sqpoll.c:45
 io_ring_exit_work+0x115/0x435 io_uring/io_uring.c:2751
 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289
 worker_thread+0x618/0xa70 kernel/workqueue.c:2436
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306

value changed: 0xffff888108b44a80 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 1831 Comm: kworker/u4:4 Not tainted 6.1.0-rc1-syzkaller-00158-g440b7895c990-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
Workqueue: events_unbound io_ring_exit_work
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/22 22:32 upstream 440b7895c990 c0b80a55 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
2022/09/25 09:22 upstream 1a61b828566f 0042f2b4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in io_sq_thread / io_sq_thread_park
* Struck through repros no longer work on HEAD.