syzbot


KCSAN: data-race in addr_resolve / rdma_resolve_addr

Status: auto-closed as invalid on 2022/06/17 16:25
Subsystems: rdma
[Documentation on labels]
First crash: 712d, last: 712d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in addr_resolve / rdma_resolve_addr (2) rdma 1 220d 220d 0/26 auto-obsoleted due to no activity on 2023/10/22 20:16

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

read to 0xffff88813da68184 of 4 bytes by task 16641 on cpu 0:
 addr6_resolve drivers/infiniband/core/addr.c:431 [inline]
 addr_resolve+0x290/0xd50 drivers/infiniband/core/addr.c:591
 process_one_req+0xac/0x300 drivers/infiniband/core/addr.c:631
 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

write to 0xffff88813da68184 of 4 bytes by task 31489 on cpu 1:
 cma_bind_addr drivers/infiniband/core/cma.c:3390 [inline]
 resolve_prepare_src drivers/infiniband/core/cma.c:3414 [inline]
 rdma_resolve_addr+0x522/0x11a0 drivers/infiniband/core/cma.c:3444
 ucma_resolve_ip+0x25c/0x310 drivers/infiniband/core/ucma.c:695
 ucma_write+0x198/0x230 drivers/infiniband/core/ucma.c:1744
 vfs_write+0x26d/0x890 fs/read_write.c:589
 ksys_write+0xe8/0x1a0 fs/read_write.c:644
 __do_sys_write fs/read_write.c:656 [inline]
 __se_sys_write fs/read_write.c:653 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:653
 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+0x44/0xae

value changed: 0x00000000 -> 0x0000000b

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 31489 Comm: syz-executor.1 Not tainted 5.18.0-rc6-syzkaller-00085-gf3f19f939c11-dirty #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
2022/05/13 16:19 upstream f3f19f939c11 7ce5a022 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in addr_resolve / rdma_resolve_addr
* Struck through repros no longer work on HEAD.