Skip to content
Fencer Vulns
high 7.1

CVE-2023-52598 json

s390/ptrace: handle setting of fpc register correctly

published 2024-03-06 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-57222

cvss
7.1
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 15%
public exploits
0
none known

Summary

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().

Patch / fix

  • Linux Linux 4.19.307, 5.4.269, 5.10.210, 5.15.149, 6.1.77, 6.6.16, 6.7.4, 6.8
  • linux Debian 12 6.1.82-1
  • linux Debian 14, Debian 13 6.7.7-1

debian advisories DEBIAN-CVE-2023-52598

  • linux Ubuntu 20.04 LTS 5.4.0-181.201
  • linux Ubuntu 22.04 LTS 5.15.0-106.116
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1124.134
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1061.67
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1128.137
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1059.67
  • linux-gke Ubuntu 22.04 LTS 5.15.0-1058.63
  • linux-ibm Ubuntu 20.04 LTS 5.4.0-1071.76

ubuntu advisories UBUNTU-CVE-2023-52598

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 8 4.18.0-553.5.1.el8_10
  • perf RHEL 8 4.18.0-553.5.1.el8_10
  • bpftool RHEL 8 4.18.0-553.5.1.el8_10
  • kernel-core RHEL 8 4.18.0-553.5.1.el8_10
  • kernel-tools RHEL 8 4.18.0-553.5.1.el8_10
  • python3-perf RHEL 8 4.18.0-553.5.1.el8_10
  • kernel-modules RHEL 8 4.18.0-553.5.1.el8_10
  • kernel-zfcpdump RHEL 8 4.18.0-553.5.1.el8_10

red hat advisories RHSA-2025:15016RHSA-2024:3618

  • kernel-syms SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.216.1
  • kernel-source SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.216.1
  • kernel-default SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +2 more 4.12.14-122.216.1
  • kernel-obs-build SLE Software Development Kit 12 SP5 4.12.14-122.216.1
  • kernel-rt SLE Real Time 12 SP5 4.12.14-10.182.1
  • kernel-syms-rt SLE Real Time 12 SP5 4.12.14-10.182.1
  • kernel-rt_debug SLE Real Time 12 SP5 4.12.14-10.182.1
  • kernel-source-rt SLE Real Time 12 SP5 4.12.14-10.182.1

suse advisories SUSE-SU-2024:1870-1SUSE-SU-2024:1646-1SUSE-SU-2024:1643-1SUSE-SU-2024:1490-1SUSE-SU-2024:1480-1SUSE-SU-2024:1466-1

  • kernel AlmaLinux 8 4.18.0-553.5.1.el8_10
  • perf AlmaLinux 8 4.18.0-553.5.1.el8_10
  • bpftool AlmaLinux 8 4.18.0-553.5.1.el8_10
  • kernel-core AlmaLinux 8 4.18.0-553.5.1.el8_10
  • kernel-tools AlmaLinux 8 4.18.0-553.5.1.el8_10
  • python3-perf AlmaLinux 8 4.18.0-553.5.1.el8_10
  • kernel-modules AlmaLinux 8 4.18.0-553.5.1.el8_10
  • kernel-zfcpdump AlmaLinux 8 4.18.0-553.5.1.el8_10

almalinux advisories ALSA-2024:3618

  • kernel Rocky Linux 8 4.18.0-553.5.1.el8_10

rocky linux advisories RLSA-2024:3618

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-52598 updated cvss 6.0

kernel: s390/ptrace: handle setting of fpc register correctly

  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 more
    affected: no fix available “Fix deferred”
  • Red Hat CodeReady Linux Builder EUS (v.9.4) libperf 5.14.0-427.85.1.el9_4, kernel-debuginfo-common-s390x 5.14.0-427.85.1.el9_4, kernel-debuginfo-common-x86_64 5.14.0-427.85.1.el9_4, kernel-debuginfo-common-aarch64 5.14.0-427.85.1.el9_4, kernel-debuginfo-common-ppc64le 5.14.0-427.85.1.el9_4 Red Hat Enterprise Linux AppStream EUS (v.9.4) rv 5.14.0-427.85.1.el9_4, perf 5.14.0-427.85.1.el9_4, rtla 5.14.0-427.85.1.el9_4, kernel-devel-matched 5.14.0-427.85.1.el9_4, kernel-64k-devel-matched 5.14.0-427.85.1.el9_4, kernel-debug-devel-matched 5.14.0-427.85.1.el9_4, +6 more
    fixed: vendor fix RHSA-2025:15016
  • Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.5.1.el8_10, kernel 4.18.0-553.5.1.el8_10, bpftool 4.18.0-553.5.1.el8_10, kernel-core 4.18.0-553.5.1.el8_10, kernel-tools 4.18.0-553.5.1.el8_10, python3-perf 4.18.0-553.5.1.el8_10, +15 more
    fixed: vendor fix RHSA-2024:3618
  • Red Hat Enterprise Linux BaseOS EUS (v.9.4) bpftool 7.3.0-427.85.1.el9_4, kernel 5.14.0-427.85.1.el9_4, kernel-64k 5.14.0-427.85.1.el9_4, kernel-core 5.14.0-427.85.1.el9_4, kernel-tools 5.14.0-427.85.1.el9_4, python3-perf 5.14.0-427.85.1.el9_4, +28 more
    fixed: vendor fix RHSA-2025:15016
  • Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.5.1.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.5.1.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.5.1.el8_10
    fixed: vendor fix RHSA-2024:3618
  • Red Hat Enterprise Linux Real Time EUS (v.9.4) kernel-rt 5.14.0-427.85.1.el9_4, kernel-rt-core 5.14.0-427.85.1.el9_4, kernel-rt-modules 5.14.0-427.85.1.el9_4, kernel-rt-debug-core 5.14.0-427.85.1.el9_4, kernel-rt-modules-core 5.14.0-427.85.1.el9_4, kernel-rt-debug-modules 5.14.0-427.85.1.el9_4, +4 more Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) kernel-rt 5.14.0-427.85.1.el9_4, kernel-rt-kvm 5.14.0-427.85.1.el9_4, kernel-rt-core 5.14.0-427.85.1.el9_4, kernel-rt-modules 5.14.0-427.85.1.el9_4, kernel-rt-debug-kvm 5.14.0-427.85.1.el9_4, kernel-rt-debug-core 5.14.0-427.85.1.el9_4, +6 more
    fixed: vendor fix RHSA-2025:15016

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-25-226-15 updated

Siemens SINEC OS

  • Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family
    not affected

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected products

  • Linux Linux

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.