CVE-2026-139195

libceph: reject bad connect_seq in msgr1 READY reply

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

libceph: reject bad connect_seq in msgr1 READY reply

process_connect() WARN_ON()s when the peer's READY/SEQ reply carries a
connect_seq other than ours + 1. That value comes off the wire, so a
misbehaving or malicious server can trigger the warning at will (and
panic machines running with panic_on_warn).

Check it before touching connection state and fail the connection with
a protocol error instead, like the other bad-reply cases here.

Analysis

AI-generated

Technical impact

The reported flaw occurs in the Linux kernel’s libceph subsystem, where the process_connect() routine fails to validate a connect_seq value in a msgr1 READY reply. If a server sends a connect_seq that differs from the expected value (our own value plus one), the kernel’s WARN_ON() triggers. When panic_on_warn is enabled, this warning escalates into an immediate kernel panic, crashing the machine. The flaw does not allow an attacker to directly execute arbitrary code but can cause availability loss if exploited by a malicious or misbehaving server.

Affected Systems

The issue affects all Linux kernel releases lacking the patch that rejects bad connect_seq values in msgr1 replies. Current data does not specify affected versions; users should check whether their kernel includes the commit that introduces the validation. The problem is confined to the kernel itself, meaning any Linux-based host employing libceph can be impacted.

Risk and Exploitability

No EPSS score is provided, and the vulnerability is not listed in CISA’s KEV catalog, indicating limited public exploitation data. The most plausible attack vector is a remote malicious server that connects to a client running the vulnerable kernel, sending a forged READY reply with an incorrect connect_seq. The CVSS score is unavailable, but the impact is severe because it can lead to a system crash. This attack requires network access to the client and an ability to send a custom msgr1 reply, which is achievable over the Ceph message protocol. As there are no known public exploits, the risk depends heavily on whether an organization’s systems are exposed to potentially hostile Ceph services.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains the libceph connect_seq validation fix, as released by your distribution’s security team.
  • If an immediate kernel update cannot be applied, configure the kernel to disable panic on WARN by setting sysctl kernel.panic_on_warn=0 or adding this setting to /etc/sysctl.conf to prevent unwarranted crashes.
  • Continuously monitor kernel logs for WARN messages related to msgr1 or connect_seq errors to detect potentially malicious activity and respond promptly.

Generated by OpenCVE AI on November 30, 2026 at 20:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: libceph: reject bad connect_seq in msgr1 READY reply process_connect() WARN_ON()s when the peer's READY/SEQ reply carries a connect_seq other than ours + 1. That value comes off the wire, so a misbehaving or malicious server can trigger the warning at will (and panic machines running with panic_on_warn). Check it before touching connection state and fail the connection with a protocol error instead, like the other bad-reply cases here.
Title libceph: reject bad connect_seq in msgr1 READY reply
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:32 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM