syzbot


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

Status: auto-obsoleted due to no activity on 2023/09/11 04:02
Subsystems: io-uring
[Documentation on labels]
First crash: 317d, last: 272d
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 (4) io-uring 4 423d 464d 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 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 (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 0xffff88812069f0f8 of 8 bytes by task 14465 on cpu 1:
 io_sq_thread+0xb0d/0xb90 io_uring/sqpoll.c:308
 ret_from_fork+0x2e/0x40 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304

read to 0xffff88812069f0f8 of 8 bytes by task 3490 on cpu 0:
 io_sq_thread_park+0x1b/0x80 io_uring/sqpoll.c:45
 io_ring_exit_work+0x178/0x4f0 io_uring/io_uring.c:3067
 process_one_work+0x434/0x860 kernel/workqueue.c:2597
 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2748
 kthread+0x1d7/0x210 kernel/kthread.c:389
 ret_from_fork+0x2e/0x40 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304

value changed: 0xffff8881079a8000 -> 0x0000000000000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 3490 Comm: kworker/u4:12 Not tainted 6.5.0-rc4-syzkaller-00251-gf0ab9f34e59e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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/08/07 03:51 upstream f0ab9f34e59e 4ffcc9ef .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/07/08 02:49 upstream 5133c9e51de4 668cb1fa .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/06/26 14:32 upstream 6995e2de6891 79782afc .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/06/22 09:54 upstream dad9774deaf1 79782afc .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.