syzbot


KCSAN: data-race in p9_conn_cancel / p9_write_work

Status: auto-closed as invalid on 2020/12/30 07:04
Subsystems: v9fs
[Documentation on labels]
Reported-by: syzbot+c359f69e8095f587c564@syzkaller.appspotmail.com
First crash: 1255d, last: 1255d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in p9_conn_cancel / p9_write_work (5) v9fs 2 1d01h 26d 0/26 moderation: reported on 2024/04/07 07:31
upstream KCSAN: data-race in p9_conn_cancel / p9_write_work (4) v9fs 2 157d 180d 0/26 auto-obsoleted due to no activity on 2024/01/02 07:46
upstream KCSAN: data-race in p9_conn_cancel / p9_write_work (3) v9fs 1 744d 744d 0/26 auto-closed as invalid on 2022/05/24 19:24
upstream KCSAN: data-race in p9_conn_cancel / p9_write_work (2) v9fs 2 1186d 1198d 0/26 auto-closed as invalid on 2021/03/08 14:39

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

write to 0xffff8880407ca428 of 4 bytes by task 10791 on cpu 1:
 p9_conn_cancel+0x88/0x400 net/9p/trans_fd.c:199
 p9_poll_mux net/9p/trans_fd.c:626 [inline]
 p9_poll_workfn+0x14c/0x410 net/9p/trans_fd.c:1143
 process_one_work+0x3e1/0x950 kernel/workqueue.c:2272
 worker_thread+0x635/0xb90 kernel/workqueue.c:2418
 kthread+0x1fd/0x220 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

read to 0xffff8880407ca428 of 4 bytes by task 9763 on cpu 0:
 p9_write_work+0x23/0x770 net/9p/trans_fd.c:449
 process_one_work+0x3e1/0x950 kernel/workqueue.c:2272
 worker_thread+0x635/0xb90 kernel/workqueue.c:2418
 kthread+0x1fd/0x220 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 9763 Comm: kworker/0:4 Not tainted 5.10.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events p9_write_work
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/25 07:03 upstream 127c501a03d5 1a1f4bd8 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.