syzbot


KCSAN: data-race in p9_conn_cancel / p9_write_work (4)

Status: auto-obsoleted due to no activity on 2024/01/02 07:46
Subsystems: v9fs
[Documentation on labels]
First crash: 559d, last: 535d
Similar bugs (6)
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 3 364d 404d 0/28 auto-obsoleted due to no activity on 2024/06/21 12:43
upstream KCSAN: data-race in p9_conn_cancel / p9_write_work (6) v9fs 4 224d 297d 0/28 auto-obsoleted due to no activity on 2024/11/08 10:55
upstream KCSAN: data-race in p9_conn_cancel / p9_write_work (7) v9fs 2 69d 94d 27/28 upstream: reported on 2025/02/11 20:11
upstream KCSAN: data-race in p9_conn_cancel / p9_write_work v9fs 1 1633d 1617d 0/28 auto-closed as invalid on 2020/12/30 07:04
upstream KCSAN: data-race in p9_conn_cancel / p9_write_work (3) v9fs 1 1123d 1123d 0/28 auto-closed as invalid on 2022/05/24 19:24
upstream KCSAN: data-race in p9_conn_cancel / p9_write_work (2) v9fs 2 1565d 1577d 0/28 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 0xffff8881387af428 of 4 bytes by task 3194 on cpu 0:
 p9_conn_cancel+0x89/0x400 net/9p/trans_fd.c:200
 p9_read_work+0x766/0x8c0 net/9p/trans_fd.c:407
 process_one_work kernel/workqueue.c:2630 [inline]
 process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2703
 worker_thread+0x525/0x730 kernel/workqueue.c:2784
 kthread+0x1d7/0x210 kernel/kthread.c:388
 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242

read to 0xffff8881387af428 of 4 bytes by task 22 on cpu 1:
 p9_write_work+0x26/0x740 net/9p/trans_fd.c:454
 process_one_work kernel/workqueue.c:2630 [inline]
 process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2703
 worker_thread+0x525/0x730 kernel/workqueue.c:2784
 kthread+0x1d7/0x210 kernel/kthread.c:388
 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242

value changed: 0x00000000 -> 0xffffffea

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 22 Comm: kworker/1:0 Not tainted 6.7.0-rc3-syzkaller-00014-gdf60cee26a2e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Workqueue: events p9_write_work
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/28 07:37 upstream df60cee26a2e 9fe51b7c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in p9_conn_cancel / p9_write_work
2023/11/04 14:51 upstream 90b0c2b2edd1 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in p9_conn_cancel / p9_write_work
* Struck through repros no longer work on HEAD.