summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2025-12-29 15:14:48 +0100
committerIlya Dryomov <idryomov@gmail.com>2026-01-05 22:46:43 +0100
commite84b48d31b5008932c0a0902982809fbaa1d3b70 (patch)
tree56c9cc0b6635a794e29448bfcbe5c395dceb4c3e /rust/kernel/alloc/kvec/git@git.tavy.me:linux.git
parente3fe30e57649c551757a02e1cad073c47e1e075e (diff)
libceph: return the handler error from mon_handle_auth_done()
Currently any error from ceph_auth_handle_reply_done() is propagated via finish_auth() but isn't returned from mon_handle_auth_done(). This results in higher layers learning that (despite the monitor considering us to be successfully authenticated) something went wrong in the authentication phase and reacting accordingly, but msgr2 still trying to proceed with establishing the session in the background. In the case of secure mode this can trigger a WARN in setup_crypto() and later lead to a NULL pointer dereference inside of prepare_auth_signature(). Cc: stable@vger.kernel.org Fixes: cd1a677cad99 ("libceph, ceph: implement msgr2.1 protocol (crc and secure modes)") Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Diffstat (limited to 'rust/kernel/alloc/kvec/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions