Linux
libceph: guard missing CRUSH type name lookup
In the Linux kernel, the following vulnerability has been resolved: libceph: guard missing CRUSH type name lookup Localized read selection can walk a parent bucket whose name exists in the CRUSH map while its type has no matching entry in type_names. get_immediate_parent() then dereferences a NULL type_cn and passes an invalid pointer into strcmp(), causing a null-ptr-deref. Skip such malformed parent buckets unless both the bucket name and type name metadata are present. This keeps malformed hierarchy data from crashing locality lookup and safely falls back to "not local". [ idryomov: add WARN_ON_ONCE ]
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 117d96a04f007ce8fc2e292369056c3bd09f6f63, < cbfcba275326c8c7dae9acd8f4a0d4c316fdafb0
- >= 117d96a04f007ce8fc2e292369056c3bd09f6f63, < 8ff579ac03d6e9d17d6d9c8443110167c14a382d
- >= 117d96a04f007ce8fc2e292369056c3bd09f6f63, < 6a4b75d90f0cfbf22c14742ab35a803bc13f36ec
- >= 117d96a04f007ce8fc2e292369056c3bd09f6f63, < c46d82c47afc968d6ee8ef4470fa2dd35b765c21
- >= 117d96a04f007ce8fc2e292369056c3bd09f6f63, < 3767c9f0c1bbd98dd25cb088356a0fc6c1f09f50
- >= 117d96a04f007ce8fc2e292369056c3bd09f6f63, < 4716a64b7cc2797741f7be4e283ace78a9dff37d
- >= 117d96a04f007ce8fc2e292369056c3bd09f6f63, < db9cc9fd9660b2d69ee66f5a4cbec83c21a1c64d
- >= 117d96a04f007ce8fc2e292369056c3bd09f6f63, < bbeae12fda3384a90fbebc8a19ba9d33f85b5361
Fixed in cbfcba275326c8c7dae9acd8f4a0d4c316fdafb0, 8ff579ac03d6e9d17d6d9c8443110167c14a382d, 6a4b75d90f0cfbf22c14742ab35a803bc13f36ec, c46d82c47afc968d6ee8ef4470fa2dd35b765c21, 3767c9f0c1bbd98dd25cb088356a0fc6c1f09f50, 4716a64b7cc2797741f7be4e283ace78a9dff37d, db9cc9fd9660b2d69ee66f5a4cbec83c21a1c64d, bbeae12fda3384a90fbebc8a19ba9d33f85b5361
- 5.8
Fixed in 0, 5.10.265, 5.15.216, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6, 7.2
Mitigation
Upgrade Linux to cbfcba275326c8c7dae9acd8f4a0d4c316fdafb0 or 8ff579ac03d6e9d17d6d9c8443110167c14a382d or 6a4b75d90f0cfbf22c14742ab35a803bc13f36ec or c46d82c47afc968d6ee8ef4470fa2dd35b765c21 or 3767c9f0c1bbd98dd25cb088356a0fc6c1f09f50 or 4716a64b7cc2797741f7be4e283ace78a9dff37d or db9cc9fd9660b2d69ee66f5a4cbec83c21a1c64d or bbeae12fda3384a90fbebc8a19ba9d33f85b5361 or later.
Upgrade Linux to 0 or 5.10.265 or 5.15.216 or 6.1.183 or 6.6.148 or 6.12.101 or 6.18.42 or 7.1.6 or 7.2 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.