CVE-2026-139195
published high CVSS 3.1 · 7.5libceph: reject bad connect_seq in msgr1 READY reply
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 109def3c5188168e51b3d147538a2ca3acdf8265 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 66b40c91f074755a0cf23a9f0f2a0e958efab03e · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cefb535515d3ffffedeec3c10049a2ed37efa89e · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f6affc183e9e9160bec8283c3d9d98c645529e1e · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3fa10e372af2ad1dad403f57052b2b3e864c629d · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bb57a8a8df761c4d758393395a9bf353cdb81c45 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6dfc1b1a99da4909aee07a906352be5c3fc9baba · 0 to < 5.15.226 · 0 to < 6.1.193 · 0 to < 6.6.163 · 0 to < 6.12.119 · 0 to < 6.18.65 · 0 to < 7.3.6 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15.226 through 5.15.* · 6.1.193 through 6.1.* · 6.6.163 through 6.6.* · 6.12.119 through 6.12.* · 6.18.65 through 6.18.* · 7.3.6 through 7.3.* · 7.4-rc1 and later · Other versions: affected | Unaffected | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The bad value is the connect_seq field of the msgr1 CEPH_MSGR_TAG_READY/SEQ connect reply. read_partial_connect() reads it from the TCP socket and process_connect() checks it, on the path ceph_con_v1_try_read() -> read_partial_connect() -> process_connect(). It comes from a remote Ceph monitor/OSD or anyone answering at that address. AC:L - ms_mode=legacy (msgr1) is the mount default, and the peer only has to answer the connect message with READY and connect_seq != ours+1. That deterministically hits the WARN_ON on every handshake and every reconnect after a fault, with no race and no memory layout to arrange. PR:N - mon_con_ops has no get_authorizer, so con->v1.auth is NULL and no authorizer is checked before READY; on OSD connections, authorizer_len=0 skips verify_authorizer_reply. The peer needs no cephx key or account on the victim. UI:N - Once a CephFS mount or RBD mapping exists, libceph opens and reopens monitor/OSD connections automatically from workqueue context (hunting, con_fault backoff). The malicious reply is processed with no victim action at attack time. S:U - The WARN fires inside the client host's own kernel libceph messenger and does not cross a VM, IOMMU or sandbox boundary into another security authority. C:N - The faulty line is a comparison of two integers, con->v1.connect_seq and in_reply.connect_seq, inside a WARN_ON. Nothing is read out of bounds and no kernel memory goes back to the peer. I:N - Before the fix the mismatch only triggered the warning: process_connect() set CEPH_CON_S_OPEN and incremented our own connect_seq as usual. No kernel memory is corrupted or written under attacker control. A:H - The plain WARN_ON (not _ONCE) in process_connect() panics hosts with panic_on_warn, and the peer can repeat it on every reconnect. This follows the convention for remotely triggerable WARNs and is the impact the fix commit names.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 109def3c5188168e51b3d147538a2ca3acdf8265 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 66b40c91f074755a0cf23a9f0f2a0e958efab03e (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cefb535515d3ffffedeec3c10049a2ed37efa89e (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f6affc183e9e9160bec8283c3d9d98c645529e1e (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3fa10e372af2ad1dad403f57052b2b3e864c629d (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bb57a8a8df761c4d758393395a9bf353cdb81c45 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6dfc1b1a99da4909aee07a906352be5c3fc9baba (affected · git)0 to < 5.15.226 (affected · semver)0 to < 6.1.193 (affected · semver)0 to < 6.6.163 (affected · semver)0 to < 6.12.119 (affected · semver)0 to < 6.18.65 (affected · semver)0 to < 7.3.6 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/109def3c5188168e51b3d147538a2ca3acdf8265
- https://git.kernel.org/stable/c/3fa10e372af2ad1dad403f57052b2b3e864c629d
- https://git.kernel.org/stable/c/66b40c91f074755a0cf23a9f0f2a0e958efab03e
- https://git.kernel.org/stable/c/6dfc1b1a99da4909aee07a906352be5c3fc9baba
- https://git.kernel.org/stable/c/bb57a8a8df761c4d758393395a9bf353cdb81c45
- https://git.kernel.org/stable/c/cefb535515d3ffffedeec3c10049a2ed37efa89e
- https://git.kernel.org/stable/c/f6affc183e9e9160bec8283c3d9d98c645529e1e
Provider assertions
1Linux · cna
libceph: reject bad connect_seq in msgr1 READY reply
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 01cd21bad58de7a14b40eb15e5d1d6135cfd338081c3a7b3cc1604606f28aef5
- Ingested
- 01 Dec 2026, 05:47:22 UTC
- Source record
- Official CVE record