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: 1265d, last: 1265d
Similar bugs (8)
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 321d 321d 0/28 auto-obsoleted due to no activity on 2024/05/02 19:52
upstream KCSAN: data-race in p9_conn_cancel / p9_poll_workfn (7) v9fs 2 151d 165d 0/28 auto-obsoleted due to no activity on 2024/10/19 18:15
upstream KCSAN: data-race in p9_conn_cancel / p9_poll_workfn (2) v9fs 1 569d 569d 0/28 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 285d 285d 0/28 auto-obsoleted due to no activity on 2024/06/08 01:35
upstream KCSAN: data-race in p9_conn_cancel / p9_poll_workfn (6) v9fs 1 240d 240d 0/28 auto-obsoleted due to no activity on 2024/07/22 12:28
upstream KCSAN: data-race in p9_conn_cancel / p9_poll_workfn (3) v9fs 1 511d 511d 0/28 auto-obsoleted due to no activity on 2023/10/26 00:39
upstream KCSAN: data-race in p9_conn_cancel / p9_poll_workfn (8) v9fs 1 79d 79d 0/28 auto-obsoleted due to no activity on 2025/01/20 09:01
upstream KCSAN: data-race in p9_conn_cancel / p9_poll_workfn (9) v9fs 1 6d01h 5d14h 0/28 upstream: reported on 2025/02/07 13:31

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.