diff options
author | Budimir Markovic <[email protected]> | 2023-08-24 01:49:05 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-08-25 18:57:54 -0700 |
commit | b3d26c5702c7d6c45456326e56d2ccf3f103e60f (patch) | |
tree | 2eccdcba9fa443c15c89918ca1a3c99e0532beb5 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | c4413a20fa6d7c4888009fb7dd391685f196cd36 (diff) |
net/sched: sch_hfsc: Ensure inner classes have fsc curve
HFSC assumes that inner classes have an fsc curve, but it is currently
possible for classes without an fsc curve to become parents. This leads
to bugs including a use-after-free.
Don't allow non-root classes without HFSC_FSC to become parents.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Reported-by: Budimir Markovic <[email protected]>
Signed-off-by: Budimir Markovic <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions