Skip to content

net_sched: Fix UAF vulnerability in HFSC qdisc

Cong Wang netdev 2 versions – 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 · linked by author and title

  1. v2 Latest3 patches 2 repliesApplied 3/3
  2. v12 patches 5 repliesSuperseded

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net_sched: hfsc: Fix a UAF vulnerability in class handlingnet/sched/sch_hfsc.c+7 -20 repliesApplied
2/3net_sched: hfsc: Fix a potential UAF in hfsc_dequeue() toonet/sched/sch_hfsc.c+10 -40 repliesApplied
3/3selftests/tc-testing: Add test for HFSC queue emptying during peek operationtools/testing/selftests/tc-testing/tc-tests/infra/qdiscs.json+39 -01 replyApplied

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKonstantin KhlebnikovJamal Hadi SalimVictor Nogueira
SeriesR-b
1/3R-b
2/3
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [Patch net v2 0/3] net_sched: Fix UAF vulnerability in HFSC qdisc

This patchset contains two bug fixes and a selftest for the first one which we have a reliable reproducer, please check each patch description for details.

---
v2: Add a fix for hfsc_dequeue

Cong Wang (3):
net_sched: hfsc: Fix a UAF vulnerability in class handling
net_sched: hfsc: Fix a potential UAF in hfsc_dequeue() too selftests/tc-testing: Add test for HFSC queue emptying during peek
operation

 net/sched/sch_hfsc.c                          | 23 ++++++++---
 .../tc-testing/tc-tests/infra/qdiscs.json     | 39 +++++++++++++++++++
 2 files changed, 56 insertions(+), 6 deletions(-)
Signature · 1 line
2.34.1