KCSAN: data-race in netlink_getname / netlink_insert (2)

4 views
Skip to first unread message

syzbot

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

syzbot found the following issue on:

HEAD commit: 3bb61aa6 Merge tag 'arm64-fixes' of git://git.kernel.org/p..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=153ca73b500000
kernel config: https://syzkaller.appspot.com/x/.config?x=c949fed53798f819
dashboard link: https://syzkaller.appspot.com/bug?extid=3e93cbddb08bb5885e8e
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project.git 913f6005669cfb590c99865a90bc51ed0983d09d)
CC: [0x7f4...@gmail.com 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 linux-...@vger.kernel.org mkub...@suse.cz net...@vger.kernel.org songliu...@fb.com y...@fb.com]

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+3e93cb...@syzkaller.appspotmail.com

==================================================================
BUG: KCSAN: data-race in netlink_getname / netlink_insert

write to 0xffff8880295442f8 of 4 bytes by task 29952 on cpu 1:
netlink_insert+0xe8/0x8e0 net/netlink/af_netlink.c:569
netlink_autobind+0xa9/0x150 net/netlink/af_netlink.c:832
netlink_sendmsg+0x47c/0x7c0 net/netlink/af_netlink.c:1882
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg net/socket.c:671 [inline]
____sys_sendmsg+0x352/0x4c0 net/socket.c:2353
___sys_sendmsg net/socket.c:2407 [inline]
__sys_sendmsg+0x1e2/0x260 net/socket.c:2440
__do_sys_sendmsg net/socket.c:2449 [inline]
__se_sys_sendmsg net/socket.c:2447 [inline]
__x64_sys_sendmsg+0x42/0x50 net/socket.c:2447
do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880295442f8 of 4 bytes by task 29956 on cpu 0:
netlink_getname+0xbb/0x180 net/netlink/af_netlink.c:1118
__sys_getsockname+0x10a/0x1b0 net/socket.c:1902
__do_sys_getsockname net/socket.c:1917 [inline]
__se_sys_getsockname net/socket.c:1914 [inline]
__x64_sys_getsockname+0x3e/0x50 net/socket.c:1914
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: 0 PID: 29956 Comm: syz-executor.4 Not tainted 5.10.0-rc6-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,
May 18, 2021, 10:30:17 AM5/18/21
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