cbcvebase.
CVE-2023-52598
published 2024-03-06

CVE-2023-52598: 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…

PriorityP431high7.1CVSS 3.1
AVLACLPRLUINSUCHINAH
EPSS
0.24%
15.5th percentile
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

23 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.82-1 (bookworm)linux 6.1.82-1 (bookworm)
linuxlinux
linuxlinux>= 9977e886cbbc758b4b601a160b5825ba573b5ca8 < 6ccf904aac0292e1f6b1a1be6c407c414f7cf7136ccf904aac0292e1f6b1a1be6c407c414f7cf713
linuxlinux>= 9977e886cbbc758b4b601a160b5825ba573b5ca8 < 6d0822f2cc9b153bf2df49a84599195a2e0d21a86d0822f2cc9b153bf2df49a84599195a2e0d21a8
linuxlinux>= 9977e886cbbc758b4b601a160b5825ba573b5ca8 < 856caf2730ea18cb39e95833719c02a02447dc0a856caf2730ea18cb39e95833719c02a02447dc0a
linuxlinux>= 9977e886cbbc758b4b601a160b5825ba573b5ca8 < 28a1f492cb527f64593457a0a0f0d809b3f36c2528a1f492cb527f64593457a0a0f0d809b3f36c25
linuxlinux>= 9977e886cbbc758b4b601a160b5825ba573b5ca8 < 7a4d6481fbdd661f9e40e95febb95e3dee82bad37a4d6481fbdd661f9e40e95febb95e3dee82bad3
linuxlinux>= 9977e886cbbc758b4b601a160b5825ba573b5ca8 < 02c6bbfb08bad78dd014e24c7b893723c15ec7a102c6bbfb08bad78dd014e24c7b893723c15ec7a1
linuxlinux>= 9977e886cbbc758b4b601a160b5825ba573b5ca8 < bdce67df7f12fb0409fbc604ce7c4254703f56d4bdce67df7f12fb0409fbc604ce7c4254703f56d4
linuxlinux>= 9977e886cbbc758b4b601a160b5825ba573b5ca8 < 8b13601d19c541158a6e18b278c00ba69ae378298b13601d19c541158a6e18b278c00ba69ae37829
linuxlinux_kernel< 4.19.3074.19.307
linuxlinux_kernel>= 0 < 5.10.216-15.10.216-1
linuxlinux_kernel>= 0 < 6.1.82-16.1.82-1
linuxlinux_kernel>= 0 < 6.7.7-16.7.7-1
linuxlinux_kernel>= 0 < 6.7.7-16.7.7-1
linuxlinux_kernel>= 0 < 5.4.0-181.2015.4.0-181.201
linuxlinux_kernel>= 0 < 5.15.0-106.1165.15.0-106.116
linuxlinux_kernel>= 4.20 < 5.4.2695.4.269
linuxlinux_kernel>= 5.11 < 5.15.1495.15.149
linuxlinux_kernel>= 5.16 < 6.1.776.1.77
linuxlinux_kernel>= 5.5 < 5.10.2105.10.210
linuxlinux_kernel>= 6.2 < 6.6.166.6.16
linuxlinux_kernel>= 6.7 < 6.7.46.7.4

CVSS provenance

nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
osv7.5HIGH
vendor_ubuntu7.5HIGH
vendor_debian7.1HIGH
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.