Linux
libceph: define and enforce CEPH_MAX_KEY_LEN
In the Linux kernel, the following vulnerability has been resolved: libceph: define and enforce CEPH_MAX_KEY_LEN When decoding the key, verify that the key material would fit into a fixed-size buffer in process_auth_done() and generally has a sane length. The new CEPH_MAX_KEY_LEN check replaces the existing check for a key with no key material which is a) not universal since CEPH_CRYPTO_NONE has to be excluded and b) doesn't provide much value since a smaller than needed key is just as invalid as no key -- this has to be handled elsewhere anyway.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= cd1a677cad994021b19665ed476aea63f5d54f31, < 6405e8c680974bb74e2c98d5249fb52c7b12a6c6
- >= cd1a677cad994021b19665ed476aea63f5d54f31, < 8d745d38c88ecbed95f6b2b39857bf89f35a3244
- >= cd1a677cad994021b19665ed476aea63f5d54f31, < e1dc45d97975f9db65694d234fbddf1915176e16
- >= cd1a677cad994021b19665ed476aea63f5d54f31, < 1b275bd49e58752efb83767a5d1aed41356c5e64
- >= cd1a677cad994021b19665ed476aea63f5d54f31, < c1a0f5f1e5e7e98c36a362ec3d1fcfd9932931ed
- >= cd1a677cad994021b19665ed476aea63f5d54f31, < d82467c07b03a27c3c5469b62bb3b726305a80bb
- >= cd1a677cad994021b19665ed476aea63f5d54f31, < ac431d597a9bdfc2ba6b314813f29a6ef2b4a3bf
Fixed in 6405e8c680974bb74e2c98d5249fb52c7b12a6c6, 8d745d38c88ecbed95f6b2b39857bf89f35a3244, e1dc45d97975f9db65694d234fbddf1915176e16, 1b275bd49e58752efb83767a5d1aed41356c5e64, c1a0f5f1e5e7e98c36a362ec3d1fcfd9932931ed, d82467c07b03a27c3c5469b62bb3b726305a80bb, ac431d597a9bdfc2ba6b314813f29a6ef2b4a3bf
- 5.11
Fixed in 0, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.16, 6.19.6, 7.0
Mitigation
Upgrade Linux to 6405e8c680974bb74e2c98d5249fb52c7b12a6c6 or 8d745d38c88ecbed95f6b2b39857bf89f35a3244 or e1dc45d97975f9db65694d234fbddf1915176e16 or 1b275bd49e58752efb83767a5d1aed41356c5e64 or c1a0f5f1e5e7e98c36a362ec3d1fcfd9932931ed or d82467c07b03a27c3c5469b62bb3b726305a80bb or ac431d597a9bdfc2ba6b314813f29a6ef2b4a3bf or later.
Upgrade Linux to 0 or 5.15.202 or 6.1.165 or 6.6.128 or 6.12.75 or 6.18.16 or 6.19.6 or 7.0 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.