KCSAN: data-race in inet_bind_hash / inet_send_prepare (3)

4 views
Skip to first unread message

syzbot

unread,
Dec 11, 2020, 5:43:20 AM12/11/20
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 521b619a Merge tag 'linux-kselftest-kunit-fixes-5.10-rc3' ..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=16de0a34500000
kernel config: https://syzkaller.appspot.com/x/.config?x=76dfc991796328d4
dashboard link: https://syzkaller.appspot.com/bug?extid=0b0be8b71b9b2c1f9db7
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project.git 913f6005669cfb590c99865a90bc51ed0983d09d)
CC: [and...@kernel.org a...@kernel.org b...@vger.kernel.org dan...@iogearbox.net da...@davemloft.net john.fa...@gmail.com ka...@fb.com kps...@chromium.org ku...@kernel.org kuz...@ms2.inr.ac.ru linux-...@vger.kernel.org net...@vger.kernel.org songliu...@fb.com y...@fb.com yosh...@linux-ipv6.org]

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+0b0be8...@syzkaller.appspotmail.com

==================================================================
BUG: KCSAN: data-race in inet_bind_hash / inet_send_prepare

write to 0xffff888033a242ce of 2 bytes by task 28655 on cpu 0:
inet_bind_hash+0x1e/0xa0 net/ipv4/inet_hashtables.c:95
inet_csk_get_port+0x981/0xa50 net/ipv4/inet_connection_sock.c:401
__inet_bind+0x3fd/0x5f0 net/ipv4/af_inet.c:528
inet_bind+0xb0/0xd0 net/ipv4/af_inet.c:457
__sys_bind+0x1fd/0x2a0 net/socket.c:1656
__do_sys_bind net/socket.c:1667 [inline]
__se_sys_bind net/socket.c:1665 [inline]
__x64_sys_bind+0x3d/0x50 net/socket.c:1665
do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff888033a242ce of 2 bytes by task 28657 on cpu 1:
inet_send_prepare+0x21/0x210 net/ipv4/af_inet.c:802
inet_sendmsg+0x29/0x80 net/ipv4/af_inet.c:814
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg net/socket.c:671 [inline]
__sys_sendto+0x2ae/0x380 net/socket.c:1992
__do_sys_sendto net/socket.c:2004 [inline]
__se_sys_sendto net/socket.c:2000 [inline]
__x64_sys_sendto+0x74/0x90 net/socket.c:2000
do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 28657 Comm: syz-executor.2 Not tainted 5.10.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Dec 25, 2020, 5:44:10 AM12/25/20
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages