rxrpc: Fix NULL deref in rxrpc_unuse_local()
Fix rxrpc_unuse_local() to get the debug_id *after* checking to see if local is NULL. Fixes: a2cf3264 ("rxrpc: Fold __rxrpc_unuse_local() into rxrpc_unuse_local()") Reported-by: <syzbot+3538a6a72efa8b059c38@syzkaller.appspotmail.com> Signed-off-by: David Howells <dhowells@redhat.com> Tested-by: <syzbot+3538a6a72efa8b059c38@syzkaller.appspotmail.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org Signed-off-by: David S. Miller <davem@davemloft.net>
parent
fdb99487
Please register or sign in to comment