diff options
author | Dan Carpenter <error27@gmail.com> | 2023-02-06 16:18:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-22 14:59:56 +0300 |
commit | 4419cb8e5b0f19d8c6730616d9dd493b53c4442a (patch) | |
tree | 863a350b3751a3cec76e9f0ea4354e51f18a7b21 /Makefile | |
parent | 0c89a43beb877bdd923f998ad80955559f6a1bcc (diff) | |
download | linux-4419cb8e5b0f19d8c6730616d9dd493b53c4442a.tar.xz |
net: sched: sch: Fix off by one in htb_activate_prios()
commit 9cec2aaffe969f2a3e18b5ec105fc20bb908e475 upstream.
The > needs be >= to prevent an out of bounds access.
Fixes: de5ca4c3852f ("net: sched: sch: Bounds check priority")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/Y+D+KN18FQI2DKLq@kili
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions