syzbot


KCSAN: data-race in smc_connect_work / smc_copy_sock_settings_to_clc

Status: auto-obsoleted due to no activity on 2024/01/10 19:05
Subsystems: net s390
[Documentation on labels]
First crash: 419d, last: 419d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in smc_connect_work / smc_copy_sock_settings_to_clc

write to 0xffff88813c0f3620 of 4 bytes by task 3191 on cpu 0:
 smc_connect_work+0xf5/0x4d0 net/smc/af_smc.c:1600
 process_one_work kernel/workqueue.c:2630 [inline]
 process_scheduled_works+0x5b8/0xa30 kernel/workqueue.c:2703
 worker_thread+0x525/0x730 kernel/workqueue.c:2784
 kthread+0x1d7/0x210 kernel/kthread.c:388
 ret_from_fork+0x48/0x60 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242

read to 0xffff88813c0f3620 of 4 bytes by task 15837 on cpu 1:
 smc_copy_sock_settings net/smc/af_smc.c:499 [inline]
 smc_copy_sock_settings_to_clc+0x13e/0x300 net/smc/af_smc.c:509
 smc_connect+0x1fa/0x450 net/smc/af_smc.c:1685
 __sys_connect_file net/socket.c:2046 [inline]
 __sys_connect+0x1a1/0x1b0 net/socket.c:2063
 __do_sys_connect net/socket.c:2073 [inline]
 __se_sys_connect net/socket.c:2070 [inline]
 __x64_sys_connect+0x41/0x50 net/socket.c:2070
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x44/0x110 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x63/0x6b

value changed: 0x00000000 -> 0x0000006f

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 15837 Comm: syz-executor.2 Not tainted 6.7.0-rc4-syzkaller-00009-gbee0e7762ad2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/06 19:03 upstream bee0e7762ad2 e3299f55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in smc_connect_work / smc_copy_sock_settings_to_clc
* Struck through repros no longer work on HEAD.