aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-08-20 16:08:58 +0000
committerJakub Kicinski <[email protected]>2024-08-21 17:35:49 -0700
commitda273b377ae0d9bd255281ed3c2adb228321687b (patch)
tree93eb1d8a41e18154d4ca37d010815fe762e98fe0 /tools/perf/util/scripting-engines/trace-event-python.c
parentfaa389b2fbaaec7fd27a390b4896139f9da662e3 (diff)
ipv6: fix possible UAF in ip6_finish_output2()
If skb_expand_head() returns NULL, skb has been freed and associated dst/idev could also have been freed. We need to hold rcu_read_lock() to make sure the dst and associated idev are alive. Fixes: 5796015fa968 ("ipv6: allocate enough headroom in ip6_finish_output2()") Signed-off-by: Eric Dumazet <[email protected]> Cc: Vasily Averin <[email protected]> Reviewed-by: David Ahern <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions