syzbot


KCSAN: data-race in cma_comp_exch / rdma_resolve_addr

Status: auto-closed as invalid on 2020/01/31 19:57
Subsystems: rdma
[Documentation on labels]
First crash: 1616d, last: 1616d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in cma_comp_exch / rdma_resolve_addr

write to 0xffff8880a73bda1c of 4 bytes by task 7740 on cpu 0:
 cma_comp_exch+0x84/0xc0 drivers/infiniband/core/cma.c:441
 addr_handler+0x80/0x2f0 drivers/infiniband/core/cma.c:3033
 process_one_req+0xc2/0x3a0 drivers/infiniband/core/addr.c:644
 process_one_work+0x3d4/0x890 kernel/workqueue.c:2269
 worker_thread+0xa0/0x800 kernel/workqueue.c:2415
 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352

read to 0xffff8880a73bda1c of 4 bytes by task 30237 on cpu 1:
 rdma_resolve_addr+0x56/0x10e0 drivers/infiniband/core/cma.c:3156
 ucma_resolve_ip+0x105/0x180 drivers/infiniband/core/ucma.c:708
 ucma_write+0x1fe/0x2a0 drivers/infiniband/core/ucma.c:1684
 __vfs_write+0x67/0xc0 fs/read_write.c:494
 vfs_write fs/read_write.c:558 [inline]
 vfs_write+0x18a/0x390 fs/read_write.c:542
 ksys_write+0x17b/0x1b0 fs/read_write.c:611
 __do_sys_write fs/read_write.c:623 [inline]
 __se_sys_write fs/read_write.c:620 [inline]
 __x64_sys_write+0x4c/0x60 fs/read_write.c:620
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 30237 Comm: syz-executor.0 Not tainted 5.4.0-rc7+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/11/22 19:56 https://github.com/google/ktsan.git kcsan 5863cc791e4c 598ca6c8 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.