syzbot


KCSAN: data-race in p9_client_rpc / p9_write_work (2)

Status: auto-closed as invalid on 2022/10/07 03:18
Subsystems: v9fs
[Documentation on labels]
First crash: 637d, last: 616d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in p9_client_rpc / p9_write_work v9fs 1 1635d 1635d 0/26 auto-closed as invalid on 2020/01/27 13:06

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

write to 0xffff88811cae87f8 of 4 bytes by task 1914 on cpu 1:
 p9_write_work+0xc9/0x780 net/9p/trans_fd.c:465
 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289
 worker_thread+0x618/0xa70 kernel/workqueue.c:2436
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

read to 0xffff88811cae87f8 of 4 bytes by task 10219 on cpu 0:
 p9_client_rpc+0x189/0x660 net/9p/client.c:670
 p9_client_version+0xa4/0x310
 p9_client_create+0x61b/0x7a0 net/9p/client.c:985
 v9fs_session_init+0x100/0xcf0 fs/9p/v9fs.c:408
 v9fs_mount+0x78/0x660 fs/9p/vfs_super.c:126
 legacy_get_tree+0x70/0xc0 fs/fs_context.c:610
 vfs_get_tree+0x49/0x190 fs/super.c:1530
 do_new_mount+0x200/0x650 fs/namespace.c:3040
 path_mount+0x4ad/0xbb0 fs/namespace.c:3370
 do_mount fs/namespace.c:3383 [inline]
 __do_sys_mount fs/namespace.c:3591 [inline]
 __se_sys_mount+0x281/0x2d0 fs/namespace.c:3568
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3568
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00000001 -> 0x00000002

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 10219 Comm: syz-executor.5 Not tainted 6.0.0-rc3-syzkaller-00107-g42e66b1cc3a0-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
==================================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/02 03:13 upstream 42e66b1cc3a0 a805568e .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in p9_client_rpc / p9_write_work
2022/08/12 10:22 upstream 7ebfc85e2cd7 402cd70d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in p9_client_rpc / p9_write_work
* Struck through repros no longer work on HEAD.