7.8high
pds_core: make wait_context part of q_info
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: pds_core: make wait_context part of q_info Make the wait_context a full part of the q_info struct rather than a stack variable that goes away after pdsc_adminq_post() is done so that the context is still available after the wait loop has given up. There was a case where a slow development firmware caused the adminq request to time out, but then later the FW finally finished the request and sent the interrupt. The handler tried to complete_all() the completion context that had been created on the stack in pdsc_adminq_post() but no longer existed. This caused bad pointer usage, kernel crashes, and much wailing and gnashing of teeth.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 01ba61b55b2041a39c54aefb3153c770dd59a0ef before 1d7c4b2b0bbfb09b55b2dc0e2355d7936bf89381, from 01ba61b55b2041a39c54aefb3153c770dd59a0ef before 66d7702b42ffdf0dce4808626088268a4e905ca6, from 01ba61b55b2041a39c54aefb3153c770dd59a0ef before 520f012fe75fb8efc9f16a57ef929a7a2115d892, from 01ba61b55b2041a39c54aefb3153c770dd59a0ef before 3f77c3dfffc7063428b100c4945ca2a7a8680380, 6.4 Not affected: before 6.4, from 6.6.89 up to 6.6.*, from 6.12.26 up to 6.12.*, from 6.14.5 up to 6.14.*, from 6.15 up to * | CVE List |
| linux linux_kernel | from 6.4 before 6.6.89, from 6.7 before 6.12.26, from 6.13 before 6.14.5, 6.15 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: pds_core: make wait_context part of q_info Make the wait_context a full part of the q_info struct rather than a stack variable that goes away after pdsc_adminq_post() is done so that the context is still available after the wait loop has given up. There was a case where a slow development firmware caused the adminq request to time out, but then later the FW finally finished the request and sent the interrupt. The handler tried to complete_all() the completion context that had been created on the stack in pdsc_adminq_post() but no longer existed. This caused bad pointer usage, kernel crashes, and much wailing and gnashing of teeth.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: pds_core: hacer que wait_context forme parte de q_info Hacer que wait_context sea una parte completa de la estructura q_info en lugar de una variable de pila que desaparezca después de que pdsc_adminq_post() se complete para que el contexto siga disponible después de que el bucle de espera se haya dado por vencido. Hubo un caso en el que un firmware de desarrollo lento provocó que la solicitud adminq expirara, pero luego el FW finalmente terminó la solicitud y envió la interrupción. El controlador intentó completar_todo() el contexto de finalización que se había creado en la pila en pdsc_adminq_post() pero ya no existía. Esto causó un mal uso del puntero, fallos del kernel y muchos lamentos y crujir de dientes.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37886 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-37886 changed 2026-07-30 | Public domain |