APPLIED [OEM-5.17] Re: [SRU OEM-5.14, OEM-5.17 0/1] net: sched: Fix use after free in red_enqueue()

Timo Aaltonen tjaalton at ubuntu.com
Thu Apr 27 09:54:21 UTC 2023


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

-- 
t




More information about the kernel-team mailing list