syzbot


KCSAN: data-race in p9_client_cb / p9_client_rpc (4)

Status: auto-closed as invalid on 2021/07/02 20:41
Subsystems: v9fs
[Documentation on labels]
First crash: 1022d, last: 1010d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in p9_client_cb / p9_client_rpc (3) v9fs 2 1079d 1111d 0/26 auto-closed as invalid on 2021/04/24 11:05
upstream KCSAN: data-race in p9_client_cb / p9_client_rpc (8) v9fs 1 578d 578d 0/26 auto-closed as invalid on 2022/09/07 10:12
upstream KCSAN: data-race in p9_client_cb / p9_client_rpc (6) v9fs 1 886d 886d 0/26 auto-closed as invalid on 2021/11/04 05:57
upstream KCSAN: data-race in p9_client_cb / p9_client_rpc (5) v9fs 1 974d 974d 0/26 auto-closed as invalid on 2021/08/07 12:54
upstream KCSAN: data-race in p9_client_cb / p9_client_rpc (9) v9fs 1 543d 543d 0/26 auto-obsoleted due to no activity on 2022/10/12 13:20
upstream KCSAN: data-race in p9_client_cb / p9_client_rpc (2) v9fs 1 1329d 1329d 0/26 auto-closed as invalid on 2020/08/17 23:12
upstream KCSAN: data-race in p9_client_cb / p9_client_rpc v9fs 2 1573d 1574d 0/26 auto-closed as invalid on 2020/01/21 10:36
upstream KCSAN: data-race in p9_client_cb / p9_client_rpc (7) v9fs 2 700d 731d 0/26 auto-closed as invalid on 2022/05/08 15:40

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

write to 0xffff8881327b0e58 of 4 bytes by task 17973 on cpu 0:
 p9_client_cb+0x14/0x40 net/9p/client.c:429
 p9_conn_cancel+0x3d0/0x460 net/9p/trans_fd.c:215
 p9_poll_mux net/9p/trans_fd.c:628 [inline]
 p9_poll_workfn+0x14c/0x410 net/9p/trans_fd.c:1145
 process_one_work+0x3e9/0x8f0 kernel/workqueue.c:2276
 worker_thread+0x636/0xae0 kernel/workqueue.c:2422
 kthread+0x1d0/0x1f0 kernel/kthread.c:313
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

read to 0xffff8881327b0e58 of 4 bytes by task 3412 on cpu 1:
 p9_client_rpc+0x2ec/0x630 net/9p/client.c:759
 p9_client_flush+0x155/0x220 net/9p/client.c:667
 p9_client_rpc+0x55f/0x630 net/9p/client.c:784
 p9_client_version+0x8e/0x300 net/9p/client.c:945
 p9_client_create+0x601/0x6f0 net/9p/client.c:1055
 v9fs_session_init+0x100/0xcf0 fs/9p/v9fs.c:406
 v9fs_mount+0x57/0x4c0 fs/9p/vfs_super.c:126
 legacy_get_tree+0x70/0xc0 fs/fs_context.c:592
 vfs_get_tree+0x4a/0x1a0 fs/super.c:1498
 do_new_mount fs/namespace.c:2905 [inline]
 path_mount+0x11d4/0x1ce0 fs/namespace.c:3235
 do_mount fs/namespace.c:3248 [inline]
 __do_sys_mount fs/namespace.c:3456 [inline]
 __se_sys_mount+0x23d/0x2e0 fs/namespace.c:3433
 __x64_sys_mount+0x63/0x70 fs/namespace.c:3433
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x00000001 -> 0x00000005

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 3412 Comm: syz-executor.0 Tainted: G        W         5.13.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/28 20:38 upstream 5ff2756afde0 858ea628 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in p9_client_cb / p9_client_rpc
2021/05/27 13:04 upstream d7c5303fbc8a 858ea628 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in p9_client_cb / p9_client_rpc
2021/05/23 08:53 upstream 4d7620341eda 3c7fef33 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in p9_client_cb / p9_client_rpc
2021/05/17 11:32 upstream d07f6ca923ea a2eb125d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in p9_client_cb / p9_client_rpc
2021/05/16 20:16 upstream 63d1cb53e26a f54a5c09 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in p9_client_cb / p9_client_rpc
* Struck through repros no longer work on HEAD.