Skip to content

net/sched: teql: Enforce hierarchy placement

Jamal Hadi Salim netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net/sched: Enforce that teql can only be used as root qdiscnet/sched/sch_teql.c+5 -00 repliesApplied
2/3net/sched: qfq: Use cl_is_active to determine whether class is active in qfq_rm_from_agnet/sched/sch_qfq.c+1 -10 repliesApplied
3/3selftests/tc-testing: Try to add teql as a child qdisctools/testing/selftests/tc-testing/tc-tests/qdiscs/teql.json+25 -00 repliesApplied

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchVictor Nogueira
1/3T-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/3] net/sched: teql: Enforce hierarchy placement

GangMin Kim <[email protected]> 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(-)
Signature · 1 line
2.34.1