CVE-2026-72324: gpio: mvebu: free generic chips on unbind
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-72324 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.9 with commit 812d47889a8e418d7bea9bec383581a34c19183e and fixed in 6.12.97 with commit 3649b04f86b95243fa0c845695051455fa2ba40b Issue introduced in 4.9 with commit 812d47889a8e418d7bea9bec383581a34c19183e and fixed in 6.18.40 with commit 3bfcce441c552133adeeb99c294d0ce8a62612ef Issue introduced in 4.9 with commit 812d47889a8e418d7bea9bec383581a34c19183e and fixed in 7.1.5 with commit d73e4d790db611da7439e78a6ab6cb32e7885ab8 Issue introduced in 4.9 with commit 812d47889a8e418d7bea9bec383581a34c19183e and fixed in 7.2-rc3 with commit b11c513ad943f35cf5e8007d3a56279c79b7ed4b Issue introduced in 3.16.40 with commit f0cde54863da281cec1ed85497b4ec58d29c1460 Issue introduced in 4.8.9 with commit 7a9239fd04802ee6ddf82d211cff3ee7df9c473a
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-72324
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpio/gpio-mvebu.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/3649b04f86b95243fa0c845695051455fa2ba40b https://git.kernel.org/stable/c/3bfcce441c552133adeeb99c294d0ce8a62612ef https://git.kernel.org/stable/c/d73e4d790db611da7439e78a6ab6cb32e7885ab8 https://git.kernel.org/stable/c/b11c513ad943f35cf5e8007d3a56279c79b7ed4b