summaryrefslogtreecommitdiff
path: root/net/core/dev_api.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-03-12 11:22:49 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-03-18 15:18:36 +0300
commiteb0dfc0ef195a04e519b15d73cf25d8c25ee8df7 (patch)
tree48152b079fdd9b88da44c66019531b708507b943 /net/core/dev_api.c
parenta2fb987c0ecf0498cc17056339cb11d128c46ab7 (diff)
downloadlinux-eb0dfc0ef195a04e519b15d73cf25d8c25ee8df7.tar.xz
inet: frags: change inet_frag_kill() to defer refcount updates
In the following patch, we no longer assume inet_frag_kill() callers own a reference. Consuming two refcounts from inet_frag_kill() would lead in UAF. Propagate the pointer to the refs that will be consumed later by the final inet_frag_putn() call. Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20250312082250.1803501-4-edumazet@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions