accel/qaic: Handle DBC deactivation if the owner went away
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.22, Kernel 6.19.12, Kernel 6.6.134 and 6 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.13 <6.18.22, >=6.19 <6.19.12, >=6.4 <6.6.134, >=6.7 <6.12.81, =7.0, >=129776ac2e38231fa9c02ce20e116c99de291666 <2dd67966f39a2abf8ccb4865031c722e40e01b7f, >=129776ac2e38231fa9c02ce20e116c99de291666 <2feec5ae5df785658924ab6bd91280dc3926507c, >=129776ac2e38231fa9c02ce20e116c99de291666 <ee0180e77e6c8482644569632065411de844c515, >=129776ac2e38231fa9c02ce20e116c99de291666 <f403094d9075d7c565a3d81002b781c325cb3c07, =6.4, >=129776ac2e38231fa9c02ce20e116c99de291666 <08021f2d4a557d6491e3bcc288e96425f50aa3cf | 6.18.22, 6.19.12, 6.6.134, 6.12.81, 2dd67966f39a2abf8ccb4865031c722e40e01b7f, 2feec5ae5df785658924ab6bd91280dc3926507c, ee0180e77e6c8482644569632065411de844c515, f403094d9075d7c565a3d81002b781c325cb3c07, 08021f2d4a557d6491e3bcc288e96425f50aa3cf |
| linux-kernel: Kernel | >=6.13.0 <6.18.22, >=6.19.0 <6.19.12, >=6.4.0 <6.6.134, >=6.7.0 <6.12.81 | 6.18.22, 6.19.12, 6.6.134, 6.12.81 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket