Skip to content
Commit fac20b9e authored by David Howells's avatar David Howells
Browse files

rxrpc: Fix use-after-free in rxrpc_put_local()

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: 06d9532f

 ("rxrpc: Fix read-after-free in rxrpc_queue_local()")
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 9fbf082f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment