5.5medium
s390/dasd: protect device queue against concurrent access
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 1 more 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.* | CVE List |
| 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 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: s390/dasd: protege la cola de dispositivos contra el acceso concurrente. En dasd_profile_start() se cuenta la cantidad de solicitudes en la cola de dispositivos. El acceso a la cola de dispositivos no está protegido contra el acceso simultáneo. Con muchas E/S paralelas, especialmente con dispositivos alias habilitados, la cola de dispositivos puede cambiar mientras dasd_profile_start() accede a la cola. En el peor de los casos, esto provoca un pánico en el kernel debido a accesos incorrectos al puntero. Solucione este problema bloqueando el dispositivo antes de acceder a la cola y contando las solicitudes. Además, la verificación de un puntero de datos de perfil válido se puede realizar antes para evitar bloqueos innecesarios en una ruta activa.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52774 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-52774 changed 2026-06-17 | Public domain |