syzbot


KCSAN: data-race in mptcp_check_for_eof / sk_stream_wait_memory (2)

Status: auto-obsoleted due to no activity on 2023/02/12 05:32
Subsystems: mptcp
[Documentation on labels]
First crash: 491d, last: 491d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in mptcp_check_for_eof / sk_stream_wait_memory mptcp 1 1201d 1201d 0/26 auto-closed as invalid on 2021/02/25 12:27

Sample crash report:
==================================================================
BUG: KCSAN: data-race in mptcp_check_for_eof / sk_stream_wait_memory

write to 0xffff88815344adec of 1 bytes by task 8394 on cpu 1:
 mptcp_check_for_eof+0xc9/0x290 net/mptcp/protocol.c:901
 mptcp_worker+0x311/0xaf0 net/mptcp/protocol.c:2619
 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 arch/x86/entry/entry_64.S:308

read to 0xffff88815344adec of 1 bytes by task 20375 on cpu 0:
 sk_stream_wait_memory+0x46d/0x720 net/core/stream.c:145
 mptcp_sendmsg+0x988/0xe70 net/mptcp/protocol.c:1804
 inet6_sendmsg+0x5f/0x80 net/ipv6/af_inet6.c:660
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg net/socket.c:734 [inline]
 sock_write_iter+0x1b7/0x220 net/socket.c:1108
 call_write_iter include/linux/fs.h:2186 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x468/0x760 fs/read_write.c:584
 ksys_write+0xe8/0x1a0 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:646
 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+0x63/0xcd

value changed: 0x00 -> 0x01

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 20375 Comm: syz-executor.0 Tainted: G        W          6.2.0-rc1-syzkaller-00084-gc8451c141e07-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/01 05:21 upstream c8451c141e07 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in mptcp_check_for_eof / sk_stream_wait_memory
* Struck through repros no longer work on HEAD.