[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168137401791.27296.7483755007672474522.git-patchwork-notify@kernel.org>
Date: Thu, 13 Apr 2023 08:20:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Xin Long <lucien.xin@...il.com>
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org,
davem@...emloft.net, kuba@...nel.org, edumazet@...gle.com,
pabeni@...hat.com, marcelo.leitner@...il.com
Subject: Re: [PATCH net] sctp: fix a potential overflow in sctp_ifwdtsn_skip
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Mon, 10 Apr 2023 15:43:30 -0400 you wrote:
> Currently, when traversing ifwdtsn skips with _sctp_walk_ifwdtsn, it only
> checks the pos against the end of the chunk. However, the data left for
> the last pos may be < sizeof(struct sctp_ifwdtsn_skip), and dereference
> it as struct sctp_ifwdtsn_skip may cause coverflow.
>
> This patch fixes it by checking the pos against "the end of the chunk -
> sizeof(struct sctp_ifwdtsn_skip)" in sctp_ifwdtsn_skip, similar to
> sctp_fwdtsn_skip.
>
> [...]
Here is the summary with links:
- [net] sctp: fix a potential overflow in sctp_ifwdtsn_skip
https://git.kernel.org/netdev/net/c/32832a2caf82
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