CVE-2026-139195: libceph: reject bad connect_seq in msgr1 READY reply
In the Linux kernel, the following vulnerability has been resolved:
libceph: reject bad connectseq in msgr1 READY reply
processconnect() WARNON()s when the peer's READY/SEQ reply carries a connectseq 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 paniconwarn).
Check it before touching connection state and fail the connection with a protocol error instead, like the other bad-reply cases here.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
In libceph msgr1, before changing connection state, reject a READY reply whose connect_seq is not ours + 1 with a protocol error.
Event History
Frequently Asked Questions
Which systems are realistically exposed to denial of service?
Linux kernel systems using libceph and connecting through the msgr1 protocol are exposed if they communicate with a misbehaving or malicious Ceph server. The impact becomes a machine panic when panic_on_warn is enabled.
What does an attacker need to do to trigger the issue?
The attacker needs to act as, or control, a server peer that can send an msgr1 READY/SEQ reply to the client. They can provide a connect_seq value other than the client value plus one, causing the kernel warning.
How does the resolved behavior mitigate the problem?
The fix validates connect_seq before connection state is modified. Invalid replies cause the connection to fail with a protocol error rather than reaching WARN_ON().