Back

HIGH

libceph: return the handler error from mon_handle_auth_done()

Published Jan 23, 2026

Description

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().

Affected products

Remediation

Red Hat statement

The monitor auth-done handler incorrectly returned success even when the authentication reply finalization reported an error, causing a state mismatch where msgr2 could continue session establishment in the background. In secure mode this can trigger a WARN and later a NULL pointer dereference in signature preparation, leading to a remote crash/DoS (network-reachable under a malicious/compromised monitor or MITM conditions).

References (12)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner Linux
Published Jan 23, 2026
Updated Sep 8, 2026
Reserved Jan 13, 2026
CISA Vulnrichment
Updated Jun 16, 2026
NVD
Status Modified
Modified Jul 14, 2026
Red Hat
Severity Moderate
Public date Jan 23, 2026