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: 180d, last: 157d
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 1d06h 26d 0/26 moderation: reported on 2024/04/07 07:31
upstream KCSAN: data-race in p9_conn_cancel / p9_write_work v9fs 1 1255d 1239d 0/26 auto-closed as invalid on 2020/12/30 07:04
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 1199d 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 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.