# CVE-2026-68158: libceph: Fix multiplication overflow in decode\_new\_up\_state\_weight()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.76% (percentile 51, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2026-08-10T11:59:24.675Z
- **Modified:** 2026-10-19T21:17:56.030Z

## Who should check

- Anyone running Linux \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 2ceee3b77b83052648c40fef965f836fd7699d26; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< e4473751cc37db41f3f7da25d64a23e0c74570f1; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< f6961070c326bd158c38fa48756cde2bd78c4aaa; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 05c90e059269f087becfcce23348496085835c29; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 143ba49ead77ec483c0326f8aaad8649874e99c4; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 1732d89dfcd74f6fde9ce70900d316c4a151c153; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< bee4b5b53e7bff0467fd916cc44c9b190733c6bd; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 98917a499ec7064c14fc56d180a4fd636fc2784c; 1196c36fd53c3b1615eb02f986cb727b1dfc1047; bbc3aa6b0e6050b2b2e04a08dd4d6423d576b196; …
- Anyone running Linux 4.7

## 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 \]

## Affected and fixed versions

- Linux: \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 2ceee3b77b83052648c40fef965f836fd7699d26; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< e4473751cc37db41f3f7da25d64a23e0c74570f1; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< f6961070c326bd158c38fa48756cde2bd78c4aaa; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 05c90e059269f087becfcce23348496085835c29; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 143ba49ead77ec483c0326f8aaad8649874e99c4; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 1732d89dfcd74f6fde9ce70900d316c4a151c153; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< bee4b5b53e7bff0467fd916cc44c9b190733c6bd; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 98917a499ec7064c14fc56d180a4fd636fc2784c; 1196c36fd53c3b1615eb02f986cb727b1dfc1047; bbc3aa6b0e6050b2b2e04a08dd4d6423d576b196; … (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68158. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68158.md
Affected: Linux >= 930c532869774ebf8af9efe9484c597f896a7d46, < 2ceee3b77b83052648c40fef965f836fd7699d26; >= 930c532869774ebf8af9efe9484c597f896a7d46, < e4473751cc37db41f3f7da25d64a23e0c74570f1; >= 930c532869774ebf8af9efe9484c597f896a7d46, < f6961070c326bd158c38fa48756cde2bd78c4aaa; >= 930c532869774ebf8af9efe…
Fixed in: Linux 2ceee3b77b83052648c40fef965f836fd7699d26, Linux 05c90e059269f087becfcce23348496085835c29, Linux 143ba49ead77ec483c0326f8aaad8649874e99c4, Linux 1732d89dfcd74f6fde9ce70900d316c4a151c153, Linux 98917a499ec7064c14fc56d180a4fd636fc2784c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68158 being exploited?

There is no confirmed exploitation: CVE-2026-68158 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.76% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68158?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-68158?

Linux \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 2ceee3b77b83052648c40fef965f836fd7699d26; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< e4473751cc37db41f3f7da25d64a23e0c74570f1; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< f6961070c326bd158c38fa48756cde2bd78c4aaa; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 05c90e059269f087becfcce23348496085835c29; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 143ba49ead77ec483c0326f8aaad8649874e99c4; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 1732d89dfcd74f6fde9ce70900d316c4a151c153; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< bee4b5b53e7bff0467fd916cc44c9b190733c6bd; \>= 930c532869774ebf8af9efe9484c597f896a7d46, \< 98917a499ec7064c14fc56d180a4fd636fc2784c; 1196c36fd53c3b1615eb02f986cb727b1dfc1047; bbc3aa6b0e6050b2b2e04a08dd4d6423d576b196; …; Linux 4.7.

### Is there a fix for CVE-2026-68158?

Yes. Fixed in Linux 2ceee3b77b83052648c40fef965f836fd7699d26, Linux 05c90e059269f087becfcce23348496085835c29, Linux 143ba49ead77ec483c0326f8aaad8649874e99c4, Linux 1732d89dfcd74f6fde9ce70900d316c4a151c153, Linux 98917a499ec7064c14fc56d180a4fd636fc2784c. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-68158?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/2ceee3b77b83052648c40fef965f836fd7699d26>
- other: <https://git.kernel.org/stable/c/e4473751cc37db41f3f7da25d64a23e0c74570f1>
- other: <https://git.kernel.org/stable/c/f6961070c326bd158c38fa48756cde2bd78c4aaa>
- other: <https://git.kernel.org/stable/c/05c90e059269f087becfcce23348496085835c29>
- other: <https://git.kernel.org/stable/c/143ba49ead77ec483c0326f8aaad8649874e99c4>
- other: <https://git.kernel.org/stable/c/1732d89dfcd74f6fde9ce70900d316c4a151c153>
- other: <https://git.kernel.org/stable/c/bee4b5b53e7bff0467fd916cc44c9b190733c6bd>
- other: <https://git.kernel.org/stable/c/98917a499ec7064c14fc56d180a4fd636fc2784c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68158>

HTML: <https://flawdb.com/CVE-2026-68158> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68158>
