syzbot


KCSAN: data-race in p9_conn_cancel / p9_poll_workfn (2)

Status: auto-obsoleted due to no activity on 2023/08/28 09:43
Subsystems: v9fs
[Documentation on labels]
First crash: 554d, last: 554d
Similar bugs (7)
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 306d 306d 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 136d 150d 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 (5) v9fs 1 270d 270d 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 225d 225d 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 496d 496d 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 64d 64d 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 v9fs 1 1250d 1250d 0/28 auto-closed as invalid on 2021/10/01 19:17

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

write to 0xffff88813b00a428 of 4 bytes by task 9 on cpu 0:
 p9_conn_cancel+0x89/0x400 net/9p/trans_fd.c:200
 p9_write_work+0x3ac/0x740 net/9p/trans_fd.c:523
 process_one_work+0x434/0x860 kernel/workqueue.c:2597
 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2748
 kthread+0x1d7/0x210 kernel/kthread.c:389
 ret_from_fork+0x2e/0x40 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296

read to 0xffff88813b00a428 of 4 bytes by task 20715 on cpu 1:
 p9_poll_mux net/9p/trans_fd.c:626 [inline]
 p9_poll_workfn+0xc0/0x410 net/9p/trans_fd.c:1167
 process_one_work+0x434/0x860 kernel/workqueue.c:2597
 worker_thread+0x5f2/0xa10 kernel/workqueue.c:2748
 kthread+0x1d7/0x210 kernel/kthread.c:389
 ret_from_fork+0x2e/0x40 arch/x86/kernel/process.c:145
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:296

value changed: 0x00000000 -> 0xffffff91

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 20715 Comm: kworker/1:1 Not tainted 6.5.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
Workqueue: events p9_poll_workfn
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/07/24 09:35 upstream 6eaae1980760 b03242d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in p9_conn_cancel / p9_poll_workfn
* Struck through repros no longer work on HEAD.