# CVE-2023-52774: s390/dasd: protect device queue against concurrent access

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/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.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-05-21T15:30:55.593Z
- Modified: 2026-06-17T06:43:33.023Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

s390/dasd: protect device queue against concurrent access

In dasd_profile_start() the amount of requests on the device queue are
counted. The access to the device queue is unprotected against
concurrent access. With a lot of parallel I/O, especially with alias
devices enabled, the device queue can change while dasd_profile_start()
is accessing the queue. In the worst case this leads to a kernel panic
due to incorrect pointer accesses.

Fix this by taking the device lock before accessing the queue and
counting the requests. Additionally the check for a valid profile data
pointer can be done earlier to avoid unnecessary locking in a hot path.

(As written by CVE List.)

## Affected

- Linux Linux: from 4fa52aa7a82f9226b3874a69816bda3af821f002 before ebdc569a07a3e8dbe66b4184922ad6f88ac0b96f; from 4fa52aa7a82f9226b3874a69816bda3af821f002 before f75617cc8df4155374132f0b500b0b3ebb967458; from 4fa52aa7a82f9226b3874a69816bda3af821f002 before f1ac7789406e2ca9ac51c41ad2daa597f47bdd4d; from 4fa52aa7a82f9226b3874a69816bda3af821f002 before c841de6247e94e07566d57163d3c0d8b29278f7a; from 4fa52aa7a82f9226b3874a69816bda3af821f002 before 6062c527d0403cef27c54b91ac8390c3a497b250; from 4fa52aa7a82f9226b3874a69816bda3af821f002 before dc96fde8fcb2b896fd6c64802a7f4ece2e69b0be; from 4fa52aa7a82f9226b3874a69816bda3af821f002 before 9372aab5d0ff621ea203c8c603e7e5f75e888240; from 4fa52aa7a82f9226b3874a69816bda3af821f002 before db46cd1e0426f52999d50fa72cfa97fa39952885; 3.1 (not affected: before 3.1; from 4.14.332 up to 4.14.*; from 4.19.301 up to 4.19.*; from 5.4.263 up to 5.4.*; from 5.10.203 up to 5.10.*; from 5.15.141 up to 5.15.*; from 6.1.65 up to 6.1.*; from 6.6.4 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: from 3.1 before 4.14.332; from 4.15 before 4.19.301; from 4.20 before 5.4.263; from 5.5 before 5.10.203; from 5.11 before 5.15.141; from 5.16 before 6.1.65; from 6.2 before 6.6.4; 6.7

## References

- <https://git.kernel.org/stable/c/ebdc569a07a3e8dbe66b4184922ad6f88ac0b96f> (patch)
- <https://git.kernel.org/stable/c/f75617cc8df4155374132f0b500b0b3ebb967458> (patch)
- <https://git.kernel.org/stable/c/f1ac7789406e2ca9ac51c41ad2daa597f47bdd4d> (patch)
- <https://git.kernel.org/stable/c/c841de6247e94e07566d57163d3c0d8b29278f7a> (patch)
- <https://git.kernel.org/stable/c/6062c527d0403cef27c54b91ac8390c3a497b250> (patch)
- <https://git.kernel.org/stable/c/dc96fde8fcb2b896fd6c64802a7f4ece2e69b0be> (patch)
- <https://git.kernel.org/stable/c/9372aab5d0ff621ea203c8c603e7e5f75e888240> (patch)
- <https://git.kernel.org/stable/c/db46cd1e0426f52999d50fa72cfa97fa39952885> (patch)

## Sources

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

---

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