ceph: prevent use-after-free in encode_cap_msg() (CVE-2024-26689) | HOL Guard CVE