Linux
libceph: replace BUG_ON with bounds check for map->max_osd
In the Linux kernel, the following vulnerability has been resolved: libceph: replace BUG_ON with bounds check for map->max_osd OSD indexes come from untrusted network packets. Boundary checks are added to validate these against map->max_osd. [ idryomov: drop BUG_ON in ceph_get_primary_affinity(), minor cosmetic edits ]
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= f24e9980eb860d8600cbe5ef3d2fd9295320d229, < 57f5fbae9f1024aba17ff75e00433324115c548a
- >= f24e9980eb860d8600cbe5ef3d2fd9295320d229, < becc488a4d864db338ebd4e313aa3c77da24b604
- >= f24e9980eb860d8600cbe5ef3d2fd9295320d229, < e67e3be690f5f7e3b031cf29e8d91e6d02a8e30d
- >= f24e9980eb860d8600cbe5ef3d2fd9295320d229, < b4368b7f97014e1015445d61abd0b27c4c6e8424
- >= f24e9980eb860d8600cbe5ef3d2fd9295320d229, < ec3797f043756a94ea2d0f106022e14ac4946c02
Fixed in 57f5fbae9f1024aba17ff75e00433324115c548a, becc488a4d864db338ebd4e313aa3c77da24b604, e67e3be690f5f7e3b031cf29e8d91e6d02a8e30d, b4368b7f97014e1015445d61abd0b27c4c6e8424, ec3797f043756a94ea2d0f106022e14ac4946c02
- 2.6.34
Fixed in 0, 6.1.159, 6.6.119, 6.12.61, 6.17.11, 6.18
Mitigation
Upgrade Linux to 57f5fbae9f1024aba17ff75e00433324115c548a or becc488a4d864db338ebd4e313aa3c77da24b604 or e67e3be690f5f7e3b031cf29e8d91e6d02a8e30d or b4368b7f97014e1015445d61abd0b27c4c6e8424 or ec3797f043756a94ea2d0f106022e14ac4946c02 or later.
Upgrade Linux to 0 or 6.1.159 or 6.6.119 or 6.12.61 or 6.17.11 or 6.18 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.