Database/Kernel, userspace & hypervisor
Linux kernel libceph: unvalidated primary_temp OSD index causes out-of-bounds array reads
Impact
A corrupted osdmap from a monitor or OSD can carry OSD indices above max_osd or below CEPH_HOMELESS_OSD in pg_temp, primary_temp, pg_upmap and pg_upmap_items. Most of those are checked, but the index taken from primary_temp is not, so calc_target() can return it as the target OSD for a request or linger request. Because osd_state, osd_weight and osd_addr are sized to max_osd entries, the client then indexes past the end of those arrays. For a GPU fleet using RBD or CephFS from the kernel client, an attacker positioned to serve a crafted osdmap gets out-of-bounds reads inside the client kernel on every node that consumes the map.
Who can reach it
Anyone able to supply a crafted or corrupted osdmap to the kernel Ceph client - a compromised monitor or OSD on the storage network. No local user involvement; exposure follows whatever isolates the Ceph cluster network from tenants.
What to do
Apply the stable fix, which validates the primary_temp index in get_temp_osds() and falls back to the pg_temp primary or the up set when it is out of range. Five stable commits are listed; the record gives no fixed release version. Rollout is a patched kernel and a per-node reboot on every host running the kernel Ceph client, so drain GPU workloads first.
References
Related entries
- Linux kernel libceph: unchecked decodes in decode_locker() let a malicious OSD read out of boundsCVE-2026-80561 · Linux kernel libceph (cls_lock_client decode_locker)Unscored
- Microsoft Hyper-V: vmswitch fails to validate guest OID requestsCVE-2021-28476 · Microsoft Hyper-VCritical
- Incus: instance snapshots bypass restricted.containers.lowlevel, giving command execution on the hostCVE-2026-48751 · Incus (instance snapshots ignore restricted.containers.lowlevel)Critical
- VMware ESXi (OpenSLP): Use-after-free in OpenSLP on port 427 - unauthenticated remote code execution on the hypervisorCVE-2020-3992 · VMware ESXi (OpenSLP)Critical
- Linux kernel mlx5_core kTLS RX offload: TLS RX resync list corruption: entries are moved by the resync handlerCVE-2021-47215 · Linux kernel mlx5_core kTLS RX offloadCritical
- Linux kernel (drivers/nvme/host): The NVMe/RDMA initiator destroys the queue pair before the connection manager ID, soCVE-2021-47378 · Linux kernel (drivers/nvme/host)Critical
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.