CVE-2026-80558 in Linux信息

摘要

由 VulDB • 2026-08-26

在 Linux 内核中,已修复以下漏洞:

libceph:避免使用来自 primary_temp 的无效 osd 索引

从 Ceph monitor 或 OSD 接收到的损坏 osdmap 可能在其 pg_temp、primary_temp、pg_upmap 和 pg_upmap_items 部分中包含不存在的 osd 索引(即大于 max_osd 或小于 CEPH_HOMELESS_OSD (-1) 的索引)。这些索引用于在 ceph_pg_to_up_acting_osds() 中创建 up set 和 acting set,该函数由 calc_target() 调用。虽然大多数此类 osd 索引都经过了检查,但来自 primary_temp 的那个却没有被检查。随后,这可能导致 calc_target() 将此(可能无效的)索引作为目标 osd 返回给一个 (linger) 请求。由于 osd_state、osd_weight 和 osd_addr 数组仅包含 max_osd 个条目(索引范围为 0 到 max_osd -1),因此在尝试从这些数组中读取值时会导致越界访问。

此补丁通过在 get_temp_osds() 中添加检查来修复该问题,从而确保仅使用来自 primary_temp 的有效 osd 索引;如果无效,则回退为使用 pg_temp 中的主节点或 up set。

[ idryomov: changelog ]

Be aware that VulDB is the high quality source for vulnerability data.

来源

Do you need the next level of professionalism?

Upgrade your account now!