syzbot


KCSAN: data-race in __sys_setsockopt / smc_switch_to_fallback (2)

Status: auto-obsoleted due to no activity on 2024/12/22 07:37
Subsystems: s390 net
[Documentation on labels]
First crash: 85d, last: 85d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __sys_setsockopt / smc_switch_to_fallback net s390 1 1023d 1023d 0/28 auto-closed as invalid on 2022/05/08 22:25

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __sys_setsockopt / smc_switch_to_fallback

write to 0xffff8881120797a0 of 8 bytes by task 3840 on cpu 1:
 smc_switch_to_fallback+0x4de/0x7f0 net/smc/af_smc.c:914
 smc_setsockopt+0x524/0x7a0 net/smc/af_smc.c:3087
 do_sock_setsockopt net/socket.c:2334 [inline]
 __sys_setsockopt+0x1cc/0x240 net/socket.c:2357
 __do_sys_setsockopt net/socket.c:2366 [inline]
 __se_sys_setsockopt net/socket.c:2363 [inline]
 __x64_sys_setsockopt+0x66/0x80 net/socket.c:2363
 x64_sys_call+0x278d/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:55
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff8881120797a0 of 8 bytes by task 3836 on cpu 0:
 sock_from_file net/socket.c:513 [inline]
 sockfd_lookup_light net/socket.c:559 [inline]
 __sys_setsockopt+0xa7/0x240 net/socket.c:2353
 __do_sys_setsockopt net/socket.c:2366 [inline]
 __se_sys_setsockopt net/socket.c:2363 [inline]
 __x64_sys_setsockopt+0x66/0x80 net/socket.c:2363
 x64_sys_call+0x278d/0x2d60 arch/x86/include/generated/asm/syscalls_64.h:55
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0xffff8881066a1d40 -> 0xffff8881066a0680

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 UID: 0 PID: 3836 Comm: syz.4.106 Not tainted 6.12.0-rc4-syzkaller-00261-g850925a8133c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/27 07:32 upstream 850925a8133c 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __sys_setsockopt / smc_switch_to_fallback
* Struck through repros no longer work on HEAD.