syzbot


KCSAN: data-race in p9_conn_cancel / p9_poll_workfn

Status: auto-closed as invalid on 2021/10/01 19:17
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 465d, last: 465d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in p9_conn_cancel / p9_poll_workfn

write to 0xffff888104a50028 of 4 bytes by task 7 on cpu 0:
 p9_conn_cancel+0xb7/0x460 net/9p/trans_fd.c:201
 p9_read_work+0x851/0x8c0 net/9p/trans_fd.c:404
 process_one_work+0x3e9/0x8f0 kernel/workqueue.c:2276
 worker_thread+0x636/0xae0 kernel/workqueue.c:2422
 kthread+0x262/0x280 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295

read to 0xffff888104a50028 of 4 bytes by task 17 on cpu 1:
 p9_poll_mux net/9p/trans_fd.c:622 [inline]
 p9_poll_workfn+0xd6/0x410 net/9p/trans_fd.c:1145
 process_one_work+0x3e9/0x8f0 kernel/workqueue.c:2276
 worker_thread+0x636/0xae0 kernel/workqueue.c:2422
 kthread+0x262/0x280 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295

value changed: 0x00000000 -> 0xffffffea

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 17 Comm: kworker/1:0 Tainted: G        W         5.14.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events p9_poll_workfn
==================================================================

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2021/08/27 19:08 upstream 1a6436f37512 57b01c6e .config log report info KCSAN: data-race in p9_conn_cancel / p9_poll_workfn
* Struck through repros no longer work on HEAD.