Linux
libceph: return the handler error from mon_handle_auth_done()
In the Linux kernel, the following vulnerability has been resolved: 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().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= cd1a677cad994021b19665ed476aea63f5d54f31, < 77229551f2cf72f3e35636db68e6a825b912cf16
- >= cd1a677cad994021b19665ed476aea63f5d54f31, < 33908769248b38a5e77cf9292817bb28e641992d
- >= cd1a677cad994021b19665ed476aea63f5d54f31, < e097cd858196b1914309e7e3d79b4fa79383754d
- >= cd1a677cad994021b19665ed476aea63f5d54f31, < d2c4a5f6996683f287f3851ef5412797042de7f1
- >= cd1a677cad994021b19665ed476aea63f5d54f31, < 9e0101e57534ef0e7578dd09608a6106736b82e5
- >= cd1a677cad994021b19665ed476aea63f5d54f31, < e84b48d31b5008932c0a0902982809fbaa1d3b70
Fixed in 77229551f2cf72f3e35636db68e6a825b912cf16, 33908769248b38a5e77cf9292817bb28e641992d, e097cd858196b1914309e7e3d79b4fa79383754d, d2c4a5f6996683f287f3851ef5412797042de7f1, 9e0101e57534ef0e7578dd09608a6106736b82e5, e84b48d31b5008932c0a0902982809fbaa1d3b70
- 5.11
Fixed in 0, 5.15.198, 6.1.161, 6.6.121, 6.12.66, 6.18.6, 6.19
Mitigation
Upgrade Linux to 77229551f2cf72f3e35636db68e6a825b912cf16 or 33908769248b38a5e77cf9292817bb28e641992d or e097cd858196b1914309e7e3d79b4fa79383754d or d2c4a5f6996683f287f3851ef5412797042de7f1 or 9e0101e57534ef0e7578dd09608a6106736b82e5 or e84b48d31b5008932c0a0902982809fbaa1d3b70 or later.
Upgrade Linux to 0 or 5.15.198 or 6.1.161 or 6.6.121 or 6.12.66 or 6.18.6 or 6.19 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.