gpio: mvebu: free generic chips on unbind
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
f0cde54863da281cec1ed85497b4ec58d29c1460| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
gpio: mvebu: free generic chips on unbind
irq_alloc_domain_generic_chips() allocates generic chip data that must be freed via irq_domain_remove_generic_chips(). The devres action mvebu_gpio_remove_irq_domain() only called irq_domain_remove(), which only frees the generic chips if IRQ_DOMAIN_FLAG_DESTROY_GC is set. Call irq_domain_remove_generic_chips() explicitly before irq_domain_remove() instead.
From the CVE record · Linux
The Linux kernel’s gpio mvebu driver does not free generic chip data when the device is unbound. The input does not describe an attacker exploit or specify access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the gpio mvebu driver should check their versions; affected versions are not specified.