CVE-2026-90123: irqchip/ast2700-intc: Avoid allocating in the irq_domain activate() callback
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
irqchip/ast2700-intc: Avoid allocating in the irq_domain activate() callback
The interrupt core calls the irq_domain_activate() callback from __setup_irq() with desc->lock held and interrupts disabled. Both aspeed_intc1_irq_domain_activate() and aspeed_intc0_resolve_route() test a compatible string with fwnode_device_is_compatible().
fwnode_device_is_compatible() invokes fwnode_property_match_string(), which allocates with GFP_KERNEL. That's obviously not possible with interrupts disabled and a raw spinlock held.
Both call sites are only ever handed OF nodes, so use of_device_is_compatible() instead: it walks the property in place and does not allocate.
The Linux kernel CVE team has assigned CVE-2026-90123 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.2 with commit 07825e41519abb8ac13d6d1c553af47f57775f6b and fixed in 7.2.6 with commit f2f0da11648616e47419dca93610f6c0d70ec00b Issue introduced in 7.2 with commit 07825e41519abb8ac13d6d1c553af47f57775f6b and fixed in 7.3-rc1 with commit b76eee9c2157223aa4aac42ceebb563288e078aa
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-90123
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/irqchip/irq-ast2700-intc0.c drivers/irqchip/irq-ast2700-intc1.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/f2f0da11648616e47419dca93610f6c0d70ec00b https://git.kernel.org/stable/c/b76eee9c2157223aa4aac42ceebb563288e078aa