gpio: mpsse: ensure worker is torn down
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: ensure worker is torn down
When an IRQ worker is running, unplugging the device would cause a crash. The sealevel hardware this driver was written for was not hotpluggable, so I never realized it.
This change uses a spinlock to protect a list of workers, which it tears down on disconnect.
From the CVE record · Linux
The Linux kernel’s gpio mpsse driver can crash if a device is unplugged while an IRQ worker is running. The input does not establish an attacker-controlled path, authentication requirements, or other user interaction beyond unplugging the device.
Engineers running Linux kernels with the gpio mpsse driver should check their systems; affected versions were not provided.