7.8high
accel/qaic: Handle DBC deactivation if the owner went away
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.18% (higher than 5% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: accel/qaic: Handle DBC deactivation if the owner went away When a DBC is released, the device sends a QAIC_TRANS_DEACTIVATE_FROM_DEV transaction to the host over the QAIC_CONTROL MHI channel. QAIC handles this by calling decode_deactivate() to release the resources allocated for that DBC. Since that handling is done in the qaic_manage_ioctl() context, if the user goes away before receiving and handling the deactivation, the host will be out-of-sync with the DBCs available for use, and the DBC resources will not be freed unless the device is removed. If another user loads and requests to activate a network, then the device assigns the same DBC to that network, QAIC will "indefinitely" wait for dbc->in_use = false, leading the user process to hang. As a solution to this, handle QAIC_TRANS_DEACTIVATE_FROM_DEV transactions that are received after the user has gone away.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 129776ac2e38231fa9c02ce20e116c99de291666 before 2dd67966f39a2abf8ccb4865031c722e40e01b7f, from 129776ac2e38231fa9c02ce20e116c99de291666 before 08021f2d4a557d6491e3bcc288e96425f50aa3cf, from 129776ac2e38231fa9c02ce20e116c99de291666 before f403094d9075d7c565a3d81002b781c325cb3c07, from 129776ac2e38231fa9c02ce20e116c99de291666 before ee0180e77e6c8482644569632065411de844c515, from 129776ac2e38231fa9c02ce20e116c99de291666 before 2feec5ae5df785658924ab6bd91280dc3926507c, 6.4 Not affected: before 6.4, from 6.6.134 up to 6.6.*, from 6.12.81 up to 6.12.*, from 6.18.22 up to 6.18.*, from 6.19.12 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.4 before 6.6.134, from 6.7 before 6.12.81, from 6.13 before 6.18.22, from 6.19 before 6.19.12, 7.0 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: accel/qaic: Handle DBC deactivation if the owner went away When a DBC is released, the device sends a QAIC_TRANS_DEACTIVATE_FROM_DEV transaction to the host over the QAIC_CONTROL MHI channel. QAIC handles this by calling decode_deactivate() to release the resources allocated for that DBC. Since that handling is done in the qaic_manage_ioctl() context, if the user goes away before receiving and handling the deactivation, the host will be out-of-sync with the DBCs available for use, and the DBC resources will not be freed unless the device is removed. If another user loads and requests to activate a network, then the device assigns the same DBC to that network, QAIC will "indefinitely" wait for dbc->in_use = false, leading the user process to hang. As a solution to this, handle QAIC_TRANS_DEACTIVATE_FROM_DEV transactions that are received after the user has gone away.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: accel/qaic: Manejar la desactivación de DBC si el propietario se fue Cuando se libera un DBC, el dispositivo envía una transacción QAIC_TRANS_DEACTIVATE_FROM_DEV al host a través del canal MHI QAIC_CONTROL. QAIC maneja esto llamando a decode_deactivate() para liberar los recursos asignados para ese DBC. Dado que ese manejo se realiza en el contexto de qaic_manage_ioctl(), si el usuario se va antes de recibir y manejar la desactivación, el host estará desincronizado con los DBCs disponibles para su uso, y los recursos del DBC no se liberarán a menos que se retire el dispositivo. Si otro usuario carga y solicita activar una red, entonces el dispositivo asigna el mismo DBC a esa red, QAIC esperará ’indefinidamente’ a que dbc -> in_use = false, lo que hará que el proceso de usuario se cuelgue. Como solución a esto, manejar las transacciones QAIC_TRANS_DEACTIVATE_FROM_DEV que se reciben después de que el usuario se ha ido.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43007 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-43007 changed 2026-11-11 | Public domain |