diff options
| author | Eric Dumazet <[email protected]> | 2025-03-12 08:22:49 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-03-18 12:18:36 +0000 |
| commit | eb0dfc0ef195a04e519b15d73cf25d8c25ee8df7 (patch) | |
| tree | 48152b079fdd9b88da44c66019531b708507b943 /net/ipv4/tcp_input.c | |
| parent | ipv4: frags: remove ipq_put() (diff) | |
| download | kernel-eb0dfc0ef195a04e519b15d73cf25d8c25ee8df7.tar.gz kernel-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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions
