Re: [PATCH] net: sched: sch_multiq: fix possible OOB write in multiq_tune()

From: patchwork-bot+netdevbpf
Date: Wed Jun 05 2024 - 06:00:50 EST


Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Mon, 3 Jun 2024 15:13:03 +0800 you wrote:
> q->bands will be assigned to qopt->bands to execute subsequent code logic
> after kmalloc. So the old q->bands should not be used in kmalloc.
> Otherwise, an out-of-bounds write will occur.
>
> Fixes: c2999f7fb05b ("net: sched: multiq: don't call qdisc_put() while holding tree lock")
> Signed-off-by: Hangyu Hua <hbh25y@xxxxxxxxx>
>
> [...]

Here is the summary with links:
- net: sched: sch_multiq: fix possible OOB write in multiq_tune()
https://git.kernel.org/netdev/net/c/affc18fdc694

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