gpio: mpsse: fix reference leak in gpio_mpsse_probe() error paths
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
gpio: mpsse: fix reference leak in gpio_mpsse_probe() error paths
The reference obtained by calling usb_get_dev() is not released in the gpio_mpsse_probe() error paths. Fix that by using device managed helper functions. Also remove the usb_put_dev() call in the disconnect function since now it will be released automatically.
From the CVE record · Linux
The Linux kernel's gpio_mpsse_probe() error paths fail to release a USB device reference, causing a reference leak. The input does not specify how an attacker could trigger the error paths or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the GPIO MPSSE driver should check their versions; affected versions are not specified.