Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected fbe826b1c10699a70b81a441fe47b817d1019f37 before a27f17bad38c5fea3c73281517869af0089a0451; affected fbe826b1c10699a70b81a441fe47b817d1019f37 before a5a367756926de1c21a013ea5ed7fc2219f4cb4f; affected fbe826b1c10699a70b81a441fe47b817d1019f37 before b321a046d7717225c07ba3f4b7b0a4758c2f9d58; affected fbe826b1c10699a70b81a441fe47b817d1019f37 before 1358126fbed104e5657955d3ba029b283687ba02 |
| Linux / Linux | affected 6.12; unaffected 0 before 6.12; unaffected 6.12.97 through 6.12.*; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.