syzbot


KCSAN: data-race in __io_cqring_fill_event / io_cqring_wait (2)

Status: auto-closed as invalid on 2021/10/27 17:37
Subsystems: fs
[Documentation on labels]
First crash: 985d, last: 946d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __io_cqring_fill_event / io_cqring_wait fs 1 1092d 1092d 0/26 auto-closed as invalid on 2021/06/03 11:29

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __io_cqring_fill_event / io_cqring_wait

write to 0xffff88812c95c400 of 4 bytes by task 4487 on cpu 1:
 io_get_cqe fs/io_uring.c:1581 [inline]
 __io_cqring_fill_event+0xfb/0x350 fs/io_uring.c:1769
 io_req_complete_post+0x4d/0x640 fs/io_uring.c:1792
 io_req_complete_failed fs/io_uring.c:1855 [inline]
 __io_queue_sqe+0x304/0x460 fs/io_uring.c:6992
 io_queue_sqe fs/io_uring.c:7003 [inline]
 io_submit_sqe+0x88b/0x3e90 fs/io_uring.c:7179
 io_submit_sqes+0x505/0xde0 fs/io_uring.c:7285
 __do_sys_io_uring_enter fs/io_uring.c:9943 [inline]
 __se_sys_io_uring_enter+0x20d/0xb30 fs/io_uring.c:9885
 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9885
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff88812c95c400 of 4 bytes by task 4495 on cpu 0:
 io_should_wake fs/io_uring.c:7487 [inline]
 io_cqring_wait_schedule fs/io_uring.c:7532 [inline]
 io_cqring_wait+0x5cb/0x8c0 fs/io_uring.c:7600
 __do_sys_io_uring_enter fs/io_uring.c:9969 [inline]
 __se_sys_io_uring_enter+0x641/0xb30 fs/io_uring.c:9885
 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9885
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000806 -> 0x00000808

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 4495 Comm: syz-executor.0 Not tainted 5.15.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/09/22 17:33 upstream cf1d2c3e7e2f 8cac236e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_cqring_wait
2021/09/01 22:28 upstream 835d31d319d9 7eb7e152 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_cqring_wait
2021/08/24 14:08 upstream d5ae8d7f85b7 b599f2fc .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_cqring_wait
2021/08/22 16:36 upstream 9ff50bf2f2ff b599f2fc .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_cqring_wait
2021/08/21 18:27 upstream 002c0aef1090 b599f2fc .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_cqring_wait
2021/08/14 17:09 upstream dfa377c35d70 2489ab88 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in __io_cqring_fill_event / io_cqring_wait
* Struck through repros no longer work on HEAD.