[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<172009982983.30398.11491339248404155106.git-patchwork-notify@kernel.org>
Date: Thu, 04 Jul 2024 13:30:29 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Shigeru Yoshida <syoshida@...hat.com>
Cc: davem@...emloft.net, dsahern@...nel.org, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, syzkaller@...glegroups.com
Subject: Re: [PATCH net] inet_diag: Initialize pad field in struct
inet_diag_req_v2
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Wed, 3 Jul 2024 18:16:49 +0900 you wrote:
> KMSAN reported uninit-value access in raw_lookup() [1]. Diag for raw
> sockets uses the pad field in struct inet_diag_req_v2 for the
> underlying protocol. This field corresponds to the sdiag_raw_protocol
> field in struct inet_diag_req_raw.
>
> inet_diag_get_exact_compat() converts inet_diag_req to
> inet_diag_req_v2, but leaves the pad field uninitialized. So the issue
> occurs when raw_lookup() accesses the sdiag_raw_protocol field.
>
> [...]
Here is the summary with links:
- [net] inet_diag: Initialize pad field in struct inet_diag_req_v2
https://git.kernel.org/netdev/net/c/61cf1c739f08
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