diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-09-12 19:55:25 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-09-12 19:55:25 -0400 |
commit | 5a67657a2e90c9e4a48518f95d4ba7777aa20fbb (patch) | |
tree | bd98ad7f5261afc7ae9ba804937d9ce2fb9e8764 /net/rxrpc | |
parent | f2d47d02fd84343a3c5452daca6ed12c75618aff (diff) | |
download | blackbird-op-linux-5a67657a2e90c9e4a48518f95d4ba7777aa20fbb.tar.gz blackbird-op-linux-5a67657a2e90c9e4a48518f95d4ba7777aa20fbb.zip |
SUNRPC: Fix race corrupting rpc upcall
If rpc_queue_upcall() adds a new upcall to the rpci->pipe list just
after rpc_pipe_release calls rpc_purge_list(), but before it calls
gss_pipe_release (as rpci->ops->release_pipe(inode)), then the latter
will free a message without deleting it from the rpci->pipe list.
We will be left with a freed object on the rpc->pipe list. Most
frequent symptoms are kernel crashes in rpc.gssd system calls on the
pipe in question.
Reported-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions