diff options
author | David Howells <dhowells@redhat.com> | 2020-01-31 00:50:35 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-01-31 00:50:41 +0300 |
commit | fac20b9e738523fc884ee3ea5be360a321cd8bad (patch) | |
tree | ae116a5a1ab3b27ee80d49fe7fea7134ebeaff94 /virt | |
parent | 9fbf082f569980ddd7cab348e0a118678db0e47e (diff) | |
download | linux-fac20b9e738523fc884ee3ea5be360a321cd8bad.tar.xz |
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: 06d9532fa6b3 ("rxrpc: Fix read-after-free in rxrpc_queue_local()")
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions