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]
Message-Id: <164329320946.24382.9714626868081279512.git-patchwork-notify@kernel.org>
Date:   Thu, 27 Jan 2022 14:20:09 +0000
From:   patchwork-bot+netdevbpf@...nel.org
To:     Eric Dumazet <eric.dumazet@...il.com>
Cc:     davem@...emloft.net, kuba@...nel.org, dsahern@...nel.org,
        netdev@...r.kernel.org, edumazet@...gle.com,
        syzkaller@...glegroups.com
Subject: Re: [PATCH net] ipv4: raw: lock the socket in raw_bind()

Hello:

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

On Wed, 26 Jan 2022 16:51:16 -0800 you wrote:
> From: Eric Dumazet <edumazet@...gle.com>
> 
> For some reason, raw_bind() forgot to lock the socket.
> 
> BUG: KCSAN: data-race in __ip4_datagram_connect / raw_bind
> 
> write to 0xffff8881170d4308 of 4 bytes by task 5466 on cpu 0:
>  raw_bind+0x1b0/0x250 net/ipv4/raw.c:739
>  inet_bind+0x56/0xa0 net/ipv4/af_inet.c:443
>  __sys_bind+0x14b/0x1b0 net/socket.c:1697
>  __do_sys_bind net/socket.c:1708 [inline]
>  __se_sys_bind net/socket.c:1706 [inline]
>  __x64_sys_bind+0x3d/0x50 net/socket.c:1706
>  do_syscall_x64 arch/x86/entry/common.c:50 [inline]
>  do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
>  entry_SYSCALL_64_after_hwframe+0x44/0xae
> 
> [...]

Here is the summary with links:
  - [net] ipv4: raw: lock the socket in raw_bind()
    https://git.kernel.org/netdev/net/c/153a0d187e76

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