CVE-2023-52598
s390/ptrace: handle setting of fpc register correctly
Mitigation
- Upgrade Linux to 8b13601d19c541158a6e18b278c00ba69ae37829 or later.
Who should check
- Anyone running Linux >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 6ccf904aac0292e1f6b1a1be6c407c414f7cf713; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 6d0822f2cc9b153bf2df49a84599195a2e0d21a8; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 856caf2730ea18cb39e95833719c02a02447dc0a; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 28a1f492cb527f64593457a0a0f0d809b3f36c25; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 7a4d6481fbdd661f9e40e95febb95e3dee82bad3; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 02c6bbfb08bad78dd014e24c7b893723c15ec7a1; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < bdce67df7f12fb0409fbc604ce7c4254703f56d4; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 8b13601d19c541158a6e18b278c00ba69ae37829
- Anyone running Linux 4.3
Vulnerability facts
- Affected
- Linux >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 6ccf904aac0292e1f6b1a1be6c407c414f7cf713; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 6d0822f2cc9b153bf2df49a84599195a2e0d21a8; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 856caf2730ea18cb39e95833719c02a02447dc0a; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 28a1f492cb527f64593457a0a0f0d809b3f36c25; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 7a4d6481fbdd661f9e40e95febb95e3dee82bad3; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 02c6bbfb08bad78dd014e24c7b893723c15ec7a1; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < bdce67df7f12fb0409fbc604ce7c4254703f56d4; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 8b13601d19c541158a6e18b278c00ba69ae37829; Linux 4.3
- Fixed in
- Linux 6ccf904aac0292e1f6b1a1be6c407c414f7cf713, Linux 6d0822f2cc9b153bf2df49a84599195a2e0d21a8, Linux 856caf2730ea18cb39e95833719c02a02447dc0a, Linux 28a1f492cb527f64593457a0a0f0d809b3f36c25, Linux 7a4d6481fbdd661f9e40e95febb95e3dee82bad3, Linux 02c6bbfb08bad78dd014e24c7b893723c15ec7a1, Linux 8b13601d19c541158a6e18b278c00ba69ae37829
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-125
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: s390/ptrace: handle setting of fpc register correctly If the content of the floating point control (fpc) register of a traced process is modified with the ptrace interface the new value is tested for validity by temporarily loading it into the fpc register. This may lead to corruption of the fpc register of the tracing process: if an interrupt happens while the value is temporarily loaded into the fpc register, and within interrupt context floating point or vector registers are used, the current fp/vx registers are saved with save_fpu_regs() assuming they belong to user space and will be loaded into fp/vx registers when returning to user space. test_fp_ctl() restores the original user space fpc register value, however it will be discarded, when returning to user space. In result the tracer will incorrectly continue to run with the value that was supposed to be used for the traced process. Fix this by saving fpu register contents with save_fpu_regs() before using test_fp_ctl().
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 6ccf904aac0292e1f6b1a1be6c407c414f7cf713; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 6d0822f2cc9b153bf2df49a84599195a2e0d21a8; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 856caf2730ea18cb39e95833719c02a02447dc0a; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 28a1f492cb527f64593457a0a0f0d809b3f36c25; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 7a4d6481fbdd661f9e40e95febb95e3dee82bad3; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 02c6bbfb08bad78dd014e24c7b893723c15ec7a1; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < bdce67df7f12fb0409fbc604ce7c4254703f56d4; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 8b13601d19c541158a6e18b278c00ba69ae37829 | — | cvelist |
| Linux | 4.3 | — | 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-52598. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-52598.md Affected: Linux >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 6ccf904aac0292e1f6b1a1be6c407c414f7cf713; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 6d0822f2cc9b153bf2df49a84599195a2e0d21a8; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 856caf2730ea18cb39e95833719c02a02447dc0a; >= 9977e886cbbc758b4b601a1… Fixed in: Linux 6ccf904aac0292e1f6b1a1be6c407c414f7cf713, Linux 6d0822f2cc9b153bf2df49a84599195a2e0d21a8, Linux 856caf2730ea18cb39e95833719c02a02447dc0a, Linux 28a1f492cb527f64593457a0a0f0d809b3f36c25, Linux 7a4d6481fbdd661f9e40e95febb95e3dee82bad3, Linux 02c6bbfb08bad78dd014e24c7b893723c15ec7a1, Linux 8b136… 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
Patches
- https://git.kernel.org/stable/c/6ccf904aac0292e1f6b1a1be6c407c414f7cf713
- https://git.kernel.org/stable/c/6d0822f2cc9b153bf2df49a84599195a2e0d21a8
- https://git.kernel.org/stable/c/856caf2730ea18cb39e95833719c02a02447dc0a
- https://git.kernel.org/stable/c/28a1f492cb527f64593457a0a0f0d809b3f36c25
- https://git.kernel.org/stable/c/7a4d6481fbdd661f9e40e95febb95e3dee82bad3
- https://git.kernel.org/stable/c/02c6bbfb08bad78dd014e24c7b893723c15ec7a1
- https://git.kernel.org/stable/c/bdce67df7f12fb0409fbc604ce7c4254703f56d4
- https://git.kernel.org/stable/c/8b13601d19c541158a6e18b278c00ba69ae37829
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
FAQ
Is CVE-2023-52598 being exploited?
There is no confirmed exploitation: CVE-2023-52598 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-52598?
High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-52598?
Linux >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 6ccf904aac0292e1f6b1a1be6c407c414f7cf713; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 6d0822f2cc9b153bf2df49a84599195a2e0d21a8; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 856caf2730ea18cb39e95833719c02a02447dc0a; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 28a1f492cb527f64593457a0a0f0d809b3f36c25; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 7a4d6481fbdd661f9e40e95febb95e3dee82bad3; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 02c6bbfb08bad78dd014e24c7b893723c15ec7a1; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < bdce67df7f12fb0409fbc604ce7c4254703f56d4; >= 9977e886cbbc758b4b601a160b5825ba573b5ca8, < 8b13601d19c541158a6e18b278c00ba69ae37829; Linux 4.3.
Is there a fix for CVE-2023-52598?
Yes. Fixed in Linux 6ccf904aac0292e1f6b1a1be6c407c414f7cf713, Linux 6d0822f2cc9b153bf2df49a84599195a2e0d21a8, Linux 856caf2730ea18cb39e95833719c02a02447dc0a, Linux 28a1f492cb527f64593457a0a0f0d809b3f36c25, Linux 7a4d6481fbdd661f9e40e95febb95e3dee82bad3, Linux 02c6bbfb08bad78dd014e24c7b893723c15ec7a1, Linux 8b13601d19c541158a6e18b278c00ba69ae37829. Upgrade Linux to 8b13601d19c541158a6e18b278c00ba69ae37829 or later.
How do I check if I'm affected by CVE-2023-52598?
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.