net/sched: teql: Enforce hierarchy placement
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net/sched: Enforce that teql can only be used as root qdiscnet/ | +5 | 0 replies | Applied |
| 2/3 | net/sched: qfq: Use cl_is_active to determine whether class is active in qfq_rm_from_agnet/ | +1 | 0 replies | Applied |
| 3/3 | selftests/tc-testing: Try to add teql as a child qdisctools/ | +25 | 0 replies | Applied |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Victor Nogueira |
|---|---|
| 1/3 | T-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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