diff options
author | 2025-03-12 08:22:49 +0000 | |
---|---|---|
committer | 2025-03-18 13:18:36 +0100 | |
commit | eb0dfc0ef195a04e519b15d73cf25d8c25ee8df7 (patch) | |
tree | 48152b079fdd9b88da44c66019531b708507b943 /include/linux/fpga/fpga-mgr.h | |
parent | ipv4: frags: remove ipq_put() (diff) | |
download | wireguard-linux-eb0dfc0ef195a04e519b15d73cf25d8c25ee8df7.tar.xz wireguard-linux-eb0dfc0ef195a04e519b15d73cf25d8c25ee8df7.zip |
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 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions