syzbot


KCSAN: data-race in p9_poll_workfn / p9_write_work (5)

Status: moderation: reported on 2024/03/27 17:48
Subsystems: v9fs
[Documentation on labels]
Reported-by: syzbot+e923f7caa88221d3ab94@syzkaller.appspotmail.com
First crash: 30d, last: 22d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in p9_poll_workfn / p9_write_work (2) v9fs 1 1084d 1084d 0/26 auto-closed as invalid on 2021/06/12 15:05
upstream KCSAN: data-race in p9_poll_workfn / p9_write_work (4) v9fs 1 591d 591d 0/26 auto-obsoleted due to no activity on 2022/10/18 20:14
upstream KCSAN: data-race in p9_poll_workfn / p9_write_work (3) v9fs 1 1010d 1010d 0/26 auto-closed as invalid on 2021/08/25 10:41
upstream KCSAN: data-race in p9_poll_workfn / p9_write_work v9fs 43 1602d 1646d 0/26 auto-closed as invalid on 2020/02/15 21:46

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

write to 0xffff8881219c789c of 4 bytes by task 8654 on cpu 1:
 p9_write_work+0x42c/0x750 net/9p/trans_fd.c:499
 process_one_work kernel/workqueue.c:3254 [inline]
 process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335
 worker_thread+0x526/0x730 kernel/workqueue.c:3416
 kthread+0x1d1/0x210 kernel/kthread.c:388
 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243

read to 0xffff8881219c789c of 4 bytes by task 8657 on cpu 0:
 p9_poll_mux net/9p/trans_fd.c:647 [inline]
 p9_poll_workfn+0x2bf/0x420 net/9p/trans_fd.c:1178
 process_one_work kernel/workqueue.c:3254 [inline]
 process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335
 worker_thread+0x526/0x730 kernel/workqueue.c:3416
 kthread+0x1d1/0x210 kernel/kthread.c:388
 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243

value changed: 0x00000009 -> 0x00000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 8657 Comm: kworker/0:10 Tainted: G        W          6.9.0-rc2-syzkaller-00080-gc85af715cac0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events p9_poll_workfn
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/04 10:28 upstream c85af715cac0 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in p9_poll_workfn / p9_write_work
2024/03/27 17:48 upstream 498e47cd1d1f 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in p9_poll_workfn / p9_write_work
* Struck through repros no longer work on HEAD.