Re: [PATCH net v2] net/sched: sch_htb: limit htb_classify inner-class filter hops

From
patchwork-bot+netdevbpf@kernel.org
Date
2026-08-27 20:01:12
Reply to
Victor Nogueira, 2026-08-26
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Wed, 26 Aug 2026 11:33:39 -0300 you wrote:
From: Jamal Hadi Salim <jhs@mojatatu.com>

htb_classify() follows each filter-selected inner class by switching
to cl->filter_list, but never bounds the number of hops. A filter on
an inner class can point back to itself or to another inner class that
points back, creating an infinite loop in the packet classification
path with the qdisc lock held and BH disabled — a soft lockup / panic
from a single packet.

[...]
Here is the summary with links:
  - [net,v2] net/sched: sch_htb: limit htb_classify inner-class filter hops
    https://git.kernel.org/netdev/net/c/729c4896ab82

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

Thread (3 messages) 3 messages, 3 authors, last reply 2026-08-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help