irqchip/irq-riscv-imsic-early: Fix fwnode leak on state setup failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1358126fbed104e5657955d3ba029b283687ba02, Kernel a27f17bad38c5fea3c73281517869af0089a0451, Kernel a5a367756926de1c21a013ea5ed7fc2219f4cb4f and 1 more.
In the Linux kernel, the following vulnerability has been resolved: irqchip/irq-riscv-imsic-early: Fix fwnode leak on state setup failure imsic_early_acpi_init() allocates a firmware node before setting up the IMSIC state. If imsic_setup_state() fails, the function returns without freeing the allocated fwnode. Free the fwnode and clear the global pointer on this error path, matching the cleanup already done when imsic_early_probe() fails. [ tglx: Use a common cleanup path instead of copying code around ]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.12, >=fbe826b1c10699a70b81a441fe47b817d1019f37 <1358126fbed104e5657955d3ba029b283687ba02, >=fbe826b1c10699a70b81a441fe47b817d1019f37 <a27f17bad38c5fea3c73281517869af0089a0451, >=fbe826b1c10699a70b81a441fe47b817d1019f37 <a5a367756926de1c21a013ea5ed7fc2219f4cb4f, >=fbe826b1c10699a70b81a441fe47b817d1019f37 <b321a046d7717225c07ba3f4b7b0a4758c2f9d58 | 1358126fbed104e5657955d3ba029b283687ba02, a27f17bad38c5fea3c73281517869af0089a0451, a5a367756926de1c21a013ea5ed7fc2219f4cb4f, b321a046d7717225c07ba3f4b7b0a4758c2f9d58 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket