CVE-2026-68158

libceph: Fix multiplication overflow in decode_new_up_state_weight()

9.8 critical EPSS 0.71%

Published 10 Aug 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-68158

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-68158 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.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

libceph: Fix multiplication overflow in decode_new_up_state_weight()

If a message of type CEPH_MSG_OSD_MAP contains a (maliciously) corrupted osdmap, out-of-bounds memory accesses may occur in decode_new_up_state_weight(). This happens because the bounds check for the new_state part is based on calculating its length depending on a len value read from the incoming message. This calculation may overflow leading to an incorrect bounds check. Subsequently, out-of-bounds reads may occur when decoding this part.

This patch switches the multiplication to use check_mul_overflow() to abort processing the osdmap if an overflow occurred. Therefore, osdmaps/messages containing large values for len that result in a multiplication overflow are treated as invalid.

[ idryomov: rename new_state_len -> new_state_item_size, formatting ]

Severity (CVSS)

9.8 critical CVSS 3.1 from Linux (CNA)
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.71%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 54.8% 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

Weakness

  • CWE-190 Integer Overflow or Wraparound

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 930c532869774ebf8af9efe9484c597f896a7d46, before 2ceee3b77b83052648c40fef965f836fd7699d26
affected from 930c532869774ebf8af9efe9484c597f896a7d46, before e4473751cc37db41f3f7da25d64a23e0c74570f1
affected from 930c532869774ebf8af9efe9484c597f896a7d46, before f6961070c326bd158c38fa48756cde2bd78c4aaa
affected from 930c532869774ebf8af9efe9484c597f896a7d46, before 05c90e059269f087becfcce23348496085835c29
affected from 930c532869774ebf8af9efe9484c597f896a7d46, before 143ba49ead77ec483c0326f8aaad8649874e99c4
affected from 930c532869774ebf8af9efe9484c597f896a7d46, before 1732d89dfcd74f6fde9ce70900d316c4a151c153
affected from 930c532869774ebf8af9efe9484c597f896a7d46, before bee4b5b53e7bff0467fd916cc44c9b190733c6bd
affected from 930c532869774ebf8af9efe9484c597f896a7d46, before 98917a499ec7064c14fc56d180a4fd636fc2784c
affected 1196c36fd53c3b1615eb02f986cb727b1dfc1047
affected bbc3aa6b0e6050b2b2e04a08dd4d6423d576b196
affected 6b96b2d473701b45df3fea8dd9796b6ec39e6d54
affected 7405d73cea0d0e6c541f5c534078feeb46188844
affected 8777c9f654637d56f4c4ca54eb1bc7c609b70085
affected 6831c98ce0b8a3e88db64aa224372effd0dcc694
affected 032951d32c13b7564dfba82758260cb7aa1149d2
affected 14877928f10667a5606383885d004f7185f33718
affected from 3.10.103, before 3.11
affected from 3.12.63, before 3.13
affected from 3.14.75, before 3.15
affected from 3.16.39, before 3.17
affected from 3.18.39, before 3.19
affected from 4.1.30, before 4.2
affected from 4.4.17, before 4.5
affected from 4.6.6, before 4.7
Other versions: unaffected
Linux
affected 4.7
unaffected before 4.7
unaffected from 5.10.265 up to and including 5.10.*
unaffected from 5.15.216 up to and including 5.15.*
unaffected from 6.1.183 up to and including 6.1.*
unaffected from 6.6.148 up to and including 6.6.*
unaffected from 6.12.101 up to and including 6.12.*
unaffected from 6.18.42 up to and including 6.18.*
unaffected from 7.1.6 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-68158 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-68158

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-68158
trivy image --scanners vuln IMAGE | grep CVE-2026-68158

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

Source: the record CVE-2026-68158 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.