media: cx231xx: fix devres lifetime
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 184a82784d50ad82aadc3917a3bdd8314a0e9b9b · < f468b7ee5d6332b01e6c538179a4c720e6dae93b| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: cx231xx: fix devres lifetime
USB drivers bind to USB interfaces and any device managed resources should have their lifetime tied to the interface rather than parent USB device. This avoids issues like memory leaks when drivers are unbound without their devices being physically disconnected (e.g. on probe deferral or configuration changes).
Fix the driver state lifetime so that it is released on driver unbind.
From the CVE record · Linux
The Linux kernel's cx231xx USB media driver ties managed resources to the USB device rather than the interface. This can cause memory leaks when the driver is unbound without physically disconnecting the device, such as during probe deferral or configuration changes. The input does not describe an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with the cx231xx USB media driver should check their installations; affected versions are not specified.