# CVE-2023-53205: KVM: s390/diag: fix racy access of physical cpu number in diag 9c handler

- Severity: High 7.3 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-02)
- Published: 2025-09-15T14:21:33.560Z
- Modified: 2026-10-15T22:17:39.427Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: s390/diag: fix racy access of physical cpu number in diag 9c handler

We do check for target CPU == -1, but this might change at the time we
are going to use it. Hold the physical target CPU in a local variable to
avoid out-of-bound accesses to the cpu arrays.

(As written by CVE List.)

## Affected

- Linux Linux: from 87e28a15c42cc592009c32a8c20e5789059027c2 before a9ccf140a2a03a0ae82be4bdfbdd17bdaea72ff5; from 87e28a15c42cc592009c32a8c20e5789059027c2 before 86bfb18bad60fc468e5f112cbbd918462a8dd435; from 87e28a15c42cc592009c32a8c20e5789059027c2 before dc7e0192c470a53d847c79a2796f9ac429477a26; from 87e28a15c42cc592009c32a8c20e5789059027c2 before 0bc380beb78aa352eadbc21d934dd9606fcee808; 5.13 (not affected: before 5.13; from 5.15.121 up to 5.15.*; from 6.1.39 up to 6.1.*; from 6.4.4 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 5.13 before 5.15.121; from 5.16 before 6.1.39; from 6.2 before 6.4.4

## Every score

- Linux: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/a9ccf140a2a03a0ae82be4bdfbdd17bdaea72ff5> (patch)
- <https://git.kernel.org/stable/c/86bfb18bad60fc468e5f112cbbd918462a8dd435> (patch)
- <https://git.kernel.org/stable/c/dc7e0192c470a53d847c79a2796f9ac429477a26> (patch)
- <https://git.kernel.org/stable/c/0bc380beb78aa352eadbc21d934dd9606fcee808> (patch)

## Sources

- CVE List: [CVE-2023-53205](https://www.cve.org/CVERecord?id=CVE-2023-53205), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2023-53205](https://nvd.nist.gov/vuln/detail/CVE-2023-53205), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2023-53205 · Whole record: https://cve.day/CVE-2023-53205.json · Rebuilt by cve.day 2026-11-25T22:58:34.774Z
