CVE-2023-52598
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().
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: alma — https://errata.almalinux.org/8/ALSA-2024-3618.html
Vendor advisory: alma — https://bugzilla.redhat.com/2278537
Vendor advisory: alma — https://bugzilla.redhat.com/2278431
Vendor advisory: alma — https://bugzilla.redhat.com/2278417
Vendor advisory: alma — https://bugzilla.redhat.com/2278409
Vendor advisory: alma — https://bugzilla.redhat.com/2278398
Vendor advisory: alma — https://bugzilla.redhat.com/2278356
Vendor advisory: alma — https://bugzilla.redhat.com/2278314
Vendor advisory: alma — https://bugzilla.redhat.com/2278268
Vendor advisory: alma — https://bugzilla.redhat.com/2278240
Vendor advisory: alma — https://bugzilla.redhat.com/2278237
Vendor advisory: alma — https://bugzilla.redhat.com/2278169
Vendor advisory: alma — https://bugzilla.redhat.com/2275777
Vendor advisory: alma — https://bugzilla.redhat.com/2275707
Vendor advisory: alma — https://bugzilla.redhat.com/2275666
Vendor advisory: alma — https://bugzilla.redhat.com/2275655
Vendor advisory: alma — https://bugzilla.redhat.com/2275645
Vendor advisory: alma — https://bugzilla.redhat.com/2274624
Vendor advisory: alma — https://bugzilla.redhat.com/2273262
Vendor advisory: alma — https://bugzilla.redhat.com/2273260
Vendor advisory: alma — https://bugzilla.redhat.com/2273223
Vendor advisory: alma — https://bugzilla.redhat.com/2273094
Vendor advisory: alma — https://bugzilla.redhat.com/2273092
Vendor advisory: alma — https://bugzilla.redhat.com/2272791
Vendor advisory: alma — https://bugzilla.redhat.com/2272780
Vendor advisory: alma — https://bugzilla.redhat.com/2271476
Vendor advisory: alma — https://bugzilla.redhat.com/2271469
Vendor advisory: alma — https://bugzilla.redhat.com/2270881
Vendor advisory: alma — https://bugzilla.redhat.com/2270879
Vendor advisory: alma — https://bugzilla.redhat.com/2270080
Vendor advisory: alma — https://bugzilla.redhat.com/2269856
Vendor advisory: alma — https://bugzilla.redhat.com/2269213
Vendor advisory: alma — https://bugzilla.redhat.com/2268317
Vendor advisory: alma — https://bugzilla.redhat.com/2268315
Vendor advisory: alma — https://bugzilla.redhat.com/2268309
Vendor advisory: alma — https://bugzilla.redhat.com/2268293
Vendor advisory: alma — https://bugzilla.redhat.com/2268291
Vendor advisory: alma — https://bugzilla.redhat.com/2267804
Vendor advisory: alma — https://bugzilla.redhat.com/2267797
Vendor advisory: alma — https://bugzilla.redhat.com/2267789
Vendor advisory: alma — https://bugzilla.redhat.com/2267758
Vendor advisory: alma — https://bugzilla.redhat.com/2267724
Vendor advisory: alma — https://bugzilla.redhat.com/2267705
Vendor advisory: alma — https://bugzilla.redhat.com/2267509
Vendor advisory: alma — https://bugzilla.redhat.com/2267355
Vendor advisory: alma — https://bugzilla.redhat.com/2267185
Vendor advisory: alma — https://bugzilla.redhat.com/2267038
Vendor advisory: alma — https://bugzilla.redhat.com/2266841
Vendor advisory: alma — https://bugzilla.redhat.com/2266746
Vendor advisory: alma — https://bugzilla.redhat.com/2266446
Vendor advisory: alma — https://bugzilla.redhat.com/2266296
Vendor advisory: alma — https://bugzilla.redhat.com/2265833
Vendor advisory: alma — https://bugzilla.redhat.com/2265654
Vendor advisory: alma — https://bugzilla.redhat.com/2265646
Vendor advisory: alma — https://bugzilla.redhat.com/2265271
Vendor advisory: alma — https://bugzilla.redhat.com/2263875
Vendor advisory: alma — https://bugzilla.redhat.com/2257406
Vendor advisory: alma — https://bugzilla.redhat.com/2250843
Vendor advisory: alma — https://access.redhat.com/errata/RHSA-2024:3618
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2023-52598
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2023-52598.html
Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2024:3618
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rocky | 8 | fixed | |
| sles | affected | | |
| debian | bookworm | fixed | 6.1.82-1 |
| debian | bullseye | fixed | 5.10.216-1 |
| debian | forky | fixed | 6.7.7-1 |
| debian | sid | fixed | 6.7.7-1 |
| debian | trixie | fixed | 6.7.7-1 |
| almalinux | 8 | fixed | kernel-abi-stablelists-4.18.0-553.5.1.el8_10.noarch.rpm |
References
- https://errata.rockylinux.org/RLSA-2024:3618
- https://www.suse.com/security/cve/CVE-2023-52598.html
- https://security-tracker.debian.org/tracker/CVE-2023-52598
- https://access.redhat.com/errata/RHSA-2024:3618
- https://bugzilla.redhat.com/2250843
- https://bugzilla.redhat.com/2257406
- https://bugzilla.redhat.com/2263875
- https://bugzilla.redhat.com/2265271
- https://bugzilla.redhat.com/2265646
- https://bugzilla.redhat.com/2265654
- https://bugzilla.redhat.com/2265833
- https://bugzilla.redhat.com/2266296
- https://bugzilla.redhat.com/2266446
- https://bugzilla.redhat.com/2266746
- https://bugzilla.redhat.com/2266841
- https://bugzilla.redhat.com/2267038
- https://bugzilla.redhat.com/2267185
- https://bugzilla.redhat.com/2267355
- https://bugzilla.redhat.com/2267509
- https://bugzilla.redhat.com/2267705
- https://bugzilla.redhat.com/2267724
- https://bugzilla.redhat.com/2267758
- https://bugzilla.redhat.com/2267789
- https://bugzilla.redhat.com/2267797
- https://bugzilla.redhat.com/2267804
Verify integrity in audit chain (admin only). AS-IS.