mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
rxrpc: Fix use-after-free in rxrpc_put_local()
[ Upstream commitfac20b9e73] Fix rxrpc_put_local() to not access local->debug_id after calling atomic_dec_return() as, unless that returned n==0, we no longer have the right to access the object. Fixes:06d9532fa6("rxrpc: Fix read-after-free in rxrpc_queue_local()") Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fafacfebad
commit
3eb9a5260b
1 changed files with 4 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue