Message ID | 20230421013406.33564-1-cengiz.can@canonical.com |
---|---|
Headers | show |
Series | net: sched: Fix use after free in red_enqueue() | expand |
On 4/20/23 7:34 PM, Cengiz Can wrote: > BugLink: https://bugs.launchpad.net/bugs/2017013 > > [Impact] > We can't use "skb" again after passing it to qdisc_enqueue(). This is > basically identical to commit 2f09707 ("sch_sfb: Also store skb > len before calling child enqueue"). > > Fixes: d7f4f33 ("sch_red: update backlog as well") > > [Fix] > Cherry picked from upstream. > > [Test case] > Compile, boot and basic network functionality tested using ntop. > > [Potential regression] > Low. This has been in multiple trees for a while now. > > Dan Carpenter (1): > net: sched: Fix use after free in red_enqueue() > > net/sched/sch_red.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Acked-by: Tim Gardner <tim.gardner@canonical.com>
Cengiz Can kirjoitti 21.4.2023 klo 4.34: > BugLink: https://bugs.launchpad.net/bugs/2017013 > > [Impact] > We can't use "skb" again after passing it to qdisc_enqueue(). This is > basically identical to commit 2f09707 ("sch_sfb: Also store skb > len before calling child enqueue"). > > Fixes: d7f4f33 ("sch_red: update backlog as well") > > [Fix] > Cherry picked from upstream. > > [Test case] > Compile, boot and basic network functionality tested using ntop. > > [Potential regression] > Low. This has been in multiple trees for a while now. > > Dan Carpenter (1): > net: sched: Fix use after free in red_enqueue() > > net/sched/sch_red.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > applied to oem-5.17, thanks. 5.14 is EOL