syzbot


KCSAN: data-race in io_prep_rw / kiocb_done

Status: auto-closed as invalid on 2021/12/22 11:29
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 381d, last: 381d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in io_prep_rw / kiocb_done

write to 0xffff88813f2f0f68 of 8 bytes by task 28226 on cpu 0:
 kiocb_done+0xec/0x6a0 fs/io_uring.c:2940
 io_read fs/io_uring.c:3589 [inline]
 io_issue_sqe+0x4e13/0x5680 fs/io_uring.c:6628
 io_wq_submit_work+0x1c5/0x370 fs/io_uring.c:6793
 io_worker_handle_work+0x4ca/0xbd0 fs/io-wq.c:563
 io_wqe_worker+0x1bc/0x4f0 fs/io-wq.c:619
 ret_from_fork+0x1f/0x30

read to 0xffff88813f2f0f68 of 8 bytes by task 28225 on cpu 1:
 io_prep_rw+0x34b/0x7b0 fs/io_uring.c:2857
 io_init_req fs/io_uring.c:7143 [inline]
 io_submit_sqe+0x158e/0x47d3 fs/io_uring.c:7153
 io_submit_sqes+0x25d/0x670 fs/io_uring.c:7325
 __do_sys_io_uring_enter fs/io_uring.c:10039 [inline]
 __se_sys_io_uring_enter+0x212/0xb00 fs/io_uring.c:9981
 __x64_sys_io_uring_enter+0x74/0x80 fs/io_uring.c:9981
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000000000000c6 -> 0x00000000000000d8

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 28225 Comm: syz-executor.5 Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/11/17 11:26 upstream 8ab774587903 cafff8b6 .config log report info KCSAN: data-race in io_prep_rw / kiocb_done
* Struck through repros no longer work on HEAD.