syzbot


KCSAN: data-race in sctp_association_free / sctp_wait_for_connect (6)

Status: auto-obsoleted due to no activity on 2023/03/21 10:51
Subsystems: kernel
[Documentation on labels]
First crash: 450d, last: 450d
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in sctp_association_free / sctp_wait_for_connect (9) sctp 3 23d 58d 0/26 moderation: reported on 2024/03/04 15:29
upstream KCSAN: data-race in sctp_association_free / sctp_wait_for_connect sctp 8 1538d 1636d 0/26 auto-closed as invalid on 2020/04/25 04:20
upstream KCSAN: data-race in sctp_association_free / sctp_wait_for_connect (5) sctp 2 704d 718d 0/26 auto-closed as invalid on 2022/07/03 08:54
upstream KCSAN: data-race in sctp_association_free / sctp_wait_for_connect (3) sctp 1 1148d 1148d 0/26 auto-closed as invalid on 2021/04/15 05:09
upstream KCSAN: data-race in sctp_association_free / sctp_wait_for_connect (7) sctp 1 392d 392d 0/26 auto-obsoleted due to no activity on 2023/05/10 22:22
upstream KCSAN: data-race in sctp_association_free / sctp_wait_for_connect (4) sctp 1 899d 899d 0/26 auto-closed as invalid on 2021/12/19 15:10
upstream KCSAN: data-race in sctp_association_free / sctp_wait_for_connect (2) sctp 1 1324d 1324d 0/26 auto-closed as invalid on 2020/10/20 15:22
upstream KCSAN: data-race in sctp_association_free / sctp_wait_for_connect (8) sctp 1 305d 305d 0/26 auto-obsoleted due to no activity on 2023/08/06 09:15

Sample crash report:
==================================================================
BUG: KCSAN: data-race in sctp_association_free / sctp_wait_for_connect

write to 0xffff88815ef7b008 of 1 bytes by task 31566 on cpu 1:
 sctp_association_free+0x14c/0x580
 sctp_do_sm+0x2b25/0x3160
 sctp_primitive_ABORT+0x75/0x90
 sctp_sendmsg_check_sflags+0x199/0x1d0
 sctp_sendmsg+0x129c/0x1900
 inet_sendmsg+0x63/0x80
 ____sys_sendmsg+0x390/0x510
 __sys_sendmmsg+0x263/0x500
 __x64_sys_sendmmsg+0x57/0x60
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff88815ef7b008 of 1 bytes by task 31555 on cpu 0:
 sctp_wait_for_connect+0x178/0x350
 __sctp_connect+0x705/0x780
 sctp_setsockopt_connectx+0xc5/0x120
 sctp_setsockopt+0x716/0xe90
 sock_common_setsockopt+0x61/0x70
 __sys_setsockopt+0x1c3/0x230
 __x64_sys_setsockopt+0x66/0x80
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 31555 Comm: syz-executor.4 Tainted: G        W          6.2.0-rc7-syzkaller-00011-g05ecb680708a-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/07 10:36 upstream 05ecb680708a 5bc3be51 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in sctp_association_free / sctp_wait_for_connect
* Struck through repros no longer work on HEAD.