Thread (2 messages) 2 messages, 2 authors, 2023-05-10

Re: [PATCH net-next v4] sctp: fix a potential OOB access in sctp_sched_set_sched()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-05-10 11:20:32
Also in: linux-sctp, lkml

Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller [off-list ref]:

On Wed, 10 May 2023 09:23:40 +0000 you wrote:
From: "Ilia.Gavrilov" <redacted>

The 'sched' index value must be checked before accessing an element
of the 'sctp_sched_ops' array. Otherwise, it can lead to OOB access.

Note that it's harmless since the 'sched' parameter is checked before
calling 'sctp_sched_set_sched'.

[...]
Here is the summary with links:
  - [net-next,v4] sctp: fix a potential OOB access in sctp_sched_set_sched()
    https://git.kernel.org/netdev/net-next/c/059fa492027e

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help