syzbot


KCSAN: data-race in p9_conn_cancel / p9_poll_workfn

Status: auto-closed as invalid on 2021/10/01 19:17
Subsystems: v9fs
[Documentation on labels]
First crash: 981d, last: 981d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in p9_conn_cancel / p9_poll_workfn (4) v9fs 1 37d 37d 0/26 auto-obsoleted due to no activity on 2024/05/02 19:52
upstream KCSAN: data-race in p9_conn_cancel / p9_poll_workfn (2) v9fs 1 285d 285d 0/26 auto-obsoleted due to no activity on 2023/08/28 09:43
upstream KCSAN: data-race in p9_conn_cancel / p9_poll_workfn (5) v9fs 1 1d01h 1d01h 0/26 moderation: reported on 2024/05/04 01:35
upstream KCSAN: data-race in p9_conn_cancel / p9_poll_workfn (3) v9fs 1 227d 227d 0/26 auto-obsoleted due to no activity on 2023/10/26 00:39

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