CVE-2026-80558
libceph: Avoid using invalid osd indices from primary_temp
Check your servers for CVE-2026-80558
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-80558 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
libceph: Avoid using invalid osd indices from primary_temp
A corrupted osdmap received from a Ceph monitor or OSD may contain osd indices in its pg_temp, primary_temp, pg_upmap, and pg_upmap_items parts that don't exist, i.e., that are greater than max_osd or smaller than CEPH_HOMELESS_OSD (-1). These indices are used to create the up and acting set in ceph_pg_to_up_acting_osds(), called from calc_target(). While most of these osd indices are checked, the one from primary_temp is not. Subsequently, this may lead to calc_target() returning this (potentially invalid) index as target osd for a (linger) request. Because the osd_state, osd_weight, and osd_addr arrays only contain max_osd entries (with indices 0 to max_osd -1), this leads to out-of-bounds accesses when trying to read values from these arrays.
This patch fixes the issue by adding a check to get_temp_osds(), so that only valid osd indices from primary_temp are used, and it falls back to using the primary from pg_temp or the up set if it is invalid.
[ idryomov: changelog ]
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.51%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 45.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 5e8d4d36bf23bb7baf027c479d54395840219928, before 505fc50b8ff8e687b7e3ef6866269dea27366224 affected from 5e8d4d36bf23bb7baf027c479d54395840219928, before 1c705fe8e59c6b16f48964973fb23c8ec4735b73 affected from 5e8d4d36bf23bb7baf027c479d54395840219928, before dfe1877d351b99eb1b1a62a3fc2d174220e88e20 affected from 5e8d4d36bf23bb7baf027c479d54395840219928, before e2ffeec85201b2bb748e99e12539ee1b92f62796 affected from 5e8d4d36bf23bb7baf027c479d54395840219928, before 6799d4a916ffcb3d450d8440f9fe0f0862f768d6 affected from 5e8d4d36bf23bb7baf027c479d54395840219928, before 4f392fec075562dc93bb0c69f37423ca2af9b48f affected from 5e8d4d36bf23bb7baf027c479d54395840219928, before e009c5f0ad634c62f5c48a41f1f3c019ecf52555 affected from 5e8d4d36bf23bb7baf027c479d54395840219928, before 3660b98d1204b419f6a77e9a295f148dcf38d042
Other versions: unaffected
|
| Linux |
affected 3.15 unaffected before 3.15 unaffected from 5.10.266 up to and including 5.10.* unaffected from 5.15.217 up to and including 5.15.* unaffected from 6.1.184 up to and including 6.1.* unaffected from 6.6.153 up to and including 6.6.* unaffected from 6.12.105 up to and including 6.12.* unaffected from 6.18.46 up to and including 6.18.* unaffected from 7.1.10 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-80558 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80558
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-80558
trivy image --scanners vuln IMAGE | grep CVE-2026-80558
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/505fc50b8ff8e687b7e3ef6866269dea27366224 git.kernel.org
- https://git.kernel.org/stable/c/1c705fe8e59c6b16f48964973fb23c8ec4735b73 git.kernel.org
- https://git.kernel.org/stable/c/dfe1877d351b99eb1b1a62a3fc2d174220e88e20 git.kernel.org
- https://git.kernel.org/stable/c/e2ffeec85201b2bb748e99e12539ee1b92f62796 git.kernel.org
- https://git.kernel.org/stable/c/6799d4a916ffcb3d450d8440f9fe0f0862f768d6 git.kernel.org
- https://git.kernel.org/stable/c/4f392fec075562dc93bb0c69f37423ca2af9b48f git.kernel.org
- https://git.kernel.org/stable/c/e009c5f0ad634c62f5c48a41f1f3c019ecf52555 git.kernel.org
- https://git.kernel.org/stable/c/3660b98d1204b419f6a77e9a295f148dcf38d042 git.kernel.org
Source: the record CVE-2026-80558 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse