You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sched: Avoid dereferencing skb pointer after child enqueue
jira VULN-68349
cve-pre CVE-2025-38000
commit-author Toke Høiland-Jørgensen <toke@redhat.com>
commit f6bab19
upstream-diff No changes were made to sch_cbs.c because it doesn't
support child qdiscs in this kernel because it lacks
"990e35ecba1c cbs: Add support for graft function"
Parent qdiscs may dereference the pointer to the enqueued skb after
enqueue. However, both CAKE and TBF call consume_skb() on the original skb
when splitting GSO packets, leading to a potential use-after-free in the
parent. Fix this by avoiding dereferencing the skb pointer after enqueueing
to the child.
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit f6bab19)
Signed-off-by: Brett Mastbergen <bmastbergen@ciq.com>
0 commit comments