The key length for encrypted devices created using ceph-volume is incorrect. This is due to a bug in ceph_volume/util/encryption.py, where upon writing a key using osd_dmcrypt_key_size it does not pass the key size to the format and open operations following. The default key is them applied in cryptsetup. All versions since Luminous are assumed affected.
*** Bug 2018529 has been marked as a duplicate of this bug. ***
*** Bug 2027837 has been marked as a duplicate of this bug. ***
Created ceph tracking bugs for this issue: Affects: fedora-all [bug 2039522]
This issue has been addressed in the following products: Red Hat Ceph Storage 5.1 Via RHSA-2022:1174 https://access.redhat.com/errata/RHSA-2022:1174
This issue has been addressed in the following products: Red Hat Ceph Storage 4.3 Via RHSA-2022:1716 https://access.redhat.com/errata/RHSA-2022:1716
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2021-3979
FEDORA-2022-d832fd2f45 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.