Re: [PATCH V2] fix array-index-out-of-bounds in taprio_change

From: patchwork-bot+netdevbpf
Date: Mon Aug 30 2021 - 07:30:14 EST


Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 30 Aug 2021 11:47:01 +0800 you wrote:
> From: Haimin Zhang <tcs_kernel@xxxxxxxxxxx>
>
> syzbot report an array-index-out-of-bounds in taprio_change
> index 16 is out of range for type '__u16 [16]'
> that's because mqprio->num_tc is lager than TC_MAX_QUEUE,so we check
> the return value of netdev_set_num_tc.
>
> [...]

Here is the summary with links:
- [V2] fix array-index-out-of-bounds in taprio_change
https://git.kernel.org/netdev/net-next/c/efe487fce306

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