lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 10 May 2023 09:30:21 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eric Dumazet <edumazet@...gle.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
 netdev@...r.kernel.org, eric.dumazet@...il.com, syzkaller@...glegroups.com
Subject: Re: [PATCH net] tcp: add annotations around sk->sk_shutdown accesses

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:

On Tue,  9 May 2023 20:36:56 +0000 you wrote:
> Now sk->sk_shutdown is no longer a bitfield, we can add
> standard READ_ONCE()/WRITE_ONCE() annotations to silence
> KCSAN reports like the following:
> 
> BUG: KCSAN: data-race in tcp_disconnect / tcp_poll
> 
> write to 0xffff88814588582c of 1 bytes by task 3404 on cpu 1:
> tcp_disconnect+0x4d6/0xdb0 net/ipv4/tcp.c:3121
> __inet_stream_connect+0x5dd/0x6e0 net/ipv4/af_inet.c:715
> inet_stream_connect+0x48/0x70 net/ipv4/af_inet.c:727
> __sys_connect_file net/socket.c:2001 [inline]
> __sys_connect+0x19b/0x1b0 net/socket.c:2018
> __do_sys_connect net/socket.c:2028 [inline]
> __se_sys_connect net/socket.c:2025 [inline]
> __x64_sys_connect+0x41/0x50 net/socket.c:2025
> do_syscall_x64 arch/x86/entry/common.c:50 [inline]
> do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
> entry_SYSCALL_64_after_hwframe+0x63/0xcd
> 
> [...]

Here is the summary with links:
  - [net] tcp: add annotations around sk->sk_shutdown accesses
    https://git.kernel.org/netdev/net/c/e14cadfd80d7

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ