[ldv-project] [PATCH] sctp: remove unreachable code from sctp_sf_violation_chunk()

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Sun Nov 7 22:40:07 MSK 2021


Hello:

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

On Fri,  5 Nov 2021 20:30:27 +0300 you wrote:
> sctp_sf_violation_chunk() is not called with asoc argument equal to NULL,
> but if that happens it would lead to NULL pointer dereference
> in sctp_vtag_verify().
> 
> The patch removes code that handles NULL asoc in sctp_sf_violation_chunk().
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> [...]

Here is the summary with links:
  - sctp: remove unreachable code from sctp_sf_violation_chunk()
    https://git.kernel.org/netdev/net/c/e7ea51cd879c

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





More information about the ldv-project mailing list