public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/3] net/sched: teql: Enforce hierarchy placement
@ 2026-01-14 16:02 Jamal Hadi Salim
  2026-01-14 16:02 ` [PATCH net 1/3] net/sched: Enforce that teql can only be used as root qdisc Jamal Hadi Salim
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Jamal Hadi Salim @ 2026-01-14 16:02 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, horms, andrew+netdev
  Cc: netdev, xiyou.wangcong, jiri, victor, km.kim1503, security,
	Jamal Hadi Salim

GangMin Kim <km.kim1503@gmail.com> managed to create a UAF on qfq by inserting
teql as a child qdisc and exploiting a qlen sync issue.
teql is not intended to be used as a child qdisc. Lets enforce that rule in
patch #1. Although patch #1 fixes the issue, we prevent another potential qlen
exploit in qfq in patch #2 by enforcing the child's active status is not
determined by inspecting the qlen. In patch #3 we add a tdc test case.


Jamal Hadi Salim (2):
  net/sched: Enforce that teql can only be used as root qdisc
  net/sched: qfq: Use cl_is_active to determine whether  class is active
    in qfq_rm_from_ag

Victor Nogueira (1):
  selftests/tc-testing: Try to add teql as a child qdisc

 net/sched/sch_qfq.c                           |  2 +-
 net/sched/sch_teql.c                          |  5 ++++
 .../tc-testing/tc-tests/qdiscs/teql.json      | 25 +++++++++++++++++++
 3 files changed, 31 insertions(+), 1 deletion(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-01-19 20:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-14 16:02 [PATCH net 0/3] net/sched: teql: Enforce hierarchy placement Jamal Hadi Salim
2026-01-14 16:02 ` [PATCH net 1/3] net/sched: Enforce that teql can only be used as root qdisc Jamal Hadi Salim
2026-01-14 16:02 ` [PATCH net 2/3] net/sched: qfq: Use cl_is_active to determine whether class is active in qfq_rm_from_ag Jamal Hadi Salim
2026-01-14 16:02 ` [PATCH net 3/3] selftests/tc-testing: Try to add teql as a child qdisc Jamal Hadi Salim
2026-01-15 19:16 ` [PATCH net 0/3] net/sched: teql: Enforce hierarchy placement Cong Wang
2026-01-16 14:46   ` Jamal Hadi Salim
2026-01-19 20:20 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox