irqchip/ast2700-intc: Avoid allocating in the irq_domain activate() callback
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b76eee9c2157223aa4aac42ceebb563288e078aa and Kernel f2f0da11648616e47419dca93610f6c0d70ec00b.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.2, >=07825e41519abb8ac13d6d1c553af47f57775f6b <b76eee9c2157223aa4aac42ceebb563288e078aa, >=07825e41519abb8ac13d6d1c553af47f57775f6b <f2f0da11648616e47419dca93610f6c0d70ec00b | b76eee9c2157223aa4aac42ceebb563288e078aa, f2f0da11648616e47419dca93610f6c0d70ec00b |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket