syzbot


KCSAN: data-race in ns_capable_common / prepare_signal (2)

Status: closed as invalid on 2020/06/18 14:13
Subsystems: lsm
[Documentation on labels]
First crash: 1427d, last: 1427d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ns_capable_common / prepare_signal perf 1 1629d 1629d 0/26 closed as invalid on 2019/11/19 13:54

Sample crash report:
==================================================================
BUG: KCSAN: data-race in ns_capable_common / prepare_signal

write to 0xffff888095be70a4 of 4 bytes by task 24212 on cpu 0:
 ns_capable_common+0x9a/0xc0 kernel/capability.c:377
 ns_capable+0x23/0x40 kernel/capability.c:396
 inet_create net/ipv4/af_inet.c:310 [inline]
 inet_create+0x69e/0x740 net/ipv4/af_inet.c:247
 __sock_create+0x243/0x3a0 net/socket.c:1433
 sock_create net/socket.c:1484 [inline]
 __sys_socket+0x94/0x170 net/socket.c:1526
 __do_sys_socket net/socket.c:1535 [inline]
 __se_sys_socket net/socket.c:1533 [inline]
 __x64_sys_socket+0x47/0x60 net/socket.c:1533
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888095be70a4 of 4 bytes by task 24210 on cpu 1:
 sig_task_ignored kernel/signal.c:94 [inline]
 sig_ignored kernel/signal.c:119 [inline]
 prepare_signal+0x1f0/0x770 kernel/signal.c:961
 __send_signal+0x95/0x8a0 kernel/signal.c:1081
 send_signal+0x211/0x2a0 kernel/signal.c:1241
 do_send_sig_info+0x59/0xc0 kernel/signal.c:1290
 do_send_specific+0xd8/0x100 kernel/signal.c:3780
 do_tkill+0xf8/0x130 kernel/signal.c:3806
 __do_sys_tkill kernel/signal.c:3841 [inline]
 __se_sys_tkill kernel/signal.c:3835 [inline]
 __x64_sys_tkill+0x4d/0x70 kernel/signal.c:3835
 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 24210 Comm: syz-executor.5 Not tainted 5.7.0-rc1-syzkaller #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
2020/05/27 10:27 https://github.com/google/ktsan.git kcsan 7c3cd68e5d38 9072c126 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.