CVE-2023-52636
libceph: just wait for more data to be available on the socket
Mitigation
- Upgrade Linux to 8e46a2d068c92a905d01cbb018b00d66991585ab or later.
Who should check
- Anyone running Linux >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < da9c33a70f095d5d55c36d0bfeba969e31de08ae; >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < bd9442e553ab8bf74b8be3b3c0a43bf4af4dc9b8; >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < 8e46a2d068c92a905d01cbb018b00d66991585ab
- Anyone running Linux 6.6
Vulnerability facts
- Affected
- Linux >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < da9c33a70f095d5d55c36d0bfeba969e31de08ae; >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < bd9442e553ab8bf74b8be3b3c0a43bf4af4dc9b8; >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < 8e46a2d068c92a905d01cbb018b00d66991585ab; Linux 6.6
- Fixed in
- Linux 8e46a2d068c92a905d01cbb018b00d66991585ab
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: High
- EPSS
- 0.73% chance of exploitation in 30 days (percentile 50, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: libceph: just wait for more data to be available on the socket A short read may occur while reading the message footer from the socket. Later, when the socket is ready for another read, the messenger invokes all read_partial_*() handlers, including read_partial_sparse_msg_data(). The expectation is that read_partial_sparse_msg_data() would bail, allowing the messenger to invoke read_partial() for the footer and pick up where it left off. However read_partial_sparse_msg_data() violates that and ends up calling into the state machine in the OSD client. The sparse-read state machine assumes that it's a new op and interprets some piece of the footer as the sparse-read header and returns bogus extents/data length, etc. To determine whether read_partial_sparse_msg_data() should bail, let's reuse cursor->total_resid. Because once it reaches to zero that means all the extents and data have been successfully received in last read, else it could break out when partially reading any of the extents and data. And then osd_sparse_read() could continue where it left off. [ idryomov: changelog ]
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < da9c33a70f095d5d55c36d0bfeba969e31de08ae; >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < bd9442e553ab8bf74b8be3b3c0a43bf4af4dc9b8; >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < 8e46a2d068c92a905d01cbb018b00d66991585ab | — | cvelist |
| Linux | 6.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-52636. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-52636.md Affected: Linux >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < da9c33a70f095d5d55c36d0bfeba969e31de08ae; >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < bd9442e553ab8bf74b8be3b3c0a43bf4af4dc9b8; >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < 8e46a2d068c92a905d01cbb018b00d66991585ab; Linux 6.6 Fixed in: Linux 8e46a2d068c92a905d01cbb018b00d66991585ab 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.
References
FAQ
Is CVE-2023-52636 being exploited?
There is no confirmed exploitation: CVE-2023-52636 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.73% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-52636?
High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-52636?
Linux >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < da9c33a70f095d5d55c36d0bfeba969e31de08ae; >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < bd9442e553ab8bf74b8be3b3c0a43bf4af4dc9b8; >= d396f89db39a2f259e2125ca43b4c31bb65afcad, < 8e46a2d068c92a905d01cbb018b00d66991585ab; Linux 6.6.
Is there a fix for CVE-2023-52636?
Yes. Fixed in Linux 8e46a2d068c92a905d01cbb018b00d66991585ab. Upgrade Linux to 8e46a2d068c92a905d01cbb018b00d66991585ab or later.
How do I check if I'm affected by CVE-2023-52636?
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.