summaryrefslogtreecommitdiffstats
path: root/Documentation/IRQ-affinity.txt
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2018-11-12 15:30:52 -0500
committerTrond Myklebust <trond.myklebust@hammerspace.com>2018-11-12 16:39:13 -0500
commita652a4bc21695a57c3b8d13d222a6f8b41f100aa (patch)
tree6af76bd83128cde0a9992a5e223f377b72851bae /Documentation/IRQ-affinity.txt
parenta1aa09be21fa344d1f5585aab8164bfae55f57e3 (diff)
downloadblackbird-obmc-linux-a652a4bc21695a57c3b8d13d222a6f8b41f100aa.tar.gz
blackbird-obmc-linux-a652a4bc21695a57c3b8d13d222a6f8b41f100aa.zip
SUNRPC: Fix a Oops when destroying the RPCSEC_GSS credential cache
Commit 07d02a67b7fa causes a use-after free in the RPCSEC_GSS credential destroy code, because the call to get_rpccred() in gss_destroying_context() will now always fail to increment the refcount. While we could just replace the get_rpccred() with a refcount_set(), that would have the unfortunate consequence of resurrecting a credential in the credential cache for which we are in the process of destroying the RPCSEC_GSS context. Rather than do this, we choose to make a copy that is never added to the cache and use that to destroy the context. Fixes: 07d02a67b7fa ("SUNRPC: Simplify lookup code") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'Documentation/IRQ-affinity.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud