soc: fsl: dpio: Fix cleanup on IRQ registration failure
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
soc: fsl: dpio: Fix cleanup on IRQ registration failure
IRQ registration happens after dpaa2_io_create(), but its failure path only releases the IRQ resources and the MC portal. The I/O object stays allocated and published in the service list and per-CPU lookup table, while devres unmaps its portal registers after probe fails.
Call dpaa2_io_down() on IRQ registration failure to remove the object from those lookup structures and free it. Reorder the error labels so that a failed dpaa2_io_create() still skips this cleanup.
Remove unregister_dpio_irq_handlers() from the probe error path, since no IRQ handler or affinity hint has been installed when registration fails.
This issue was identified during our ongoing static-analysis research while reviewing kernel code.
| Product | Versions |
|---|---|
| Linux Linux | fe8fe7723a3a824790bda681b40efd767e2251a7 to before 7aa60cbcb05e5f2dec025713aee25b7052a9d92e Affectedfe8fe7723a3a824790bda681b40efd767e2251a7 to before 238578499dc0585ff948158350e715e86b9bfde0 Affectedfe8fe7723a3a824790bda681b40efd767e2251a7 to before fc0d0436059b9beccb2b45710c4642feb86bdc5b Affectedfe8fe7723a3a824790bda681b40efd767e2251a7 to before 3410f2493c4be8d617f8196a0d84a4517ed333e7 Affectedfe8fe7723a3a824790bda681b40efd767e2251a7 to before 227c101eb5fe1ed1c2df5a6812f1150997c909e1 Affectedfe8fe7723a3a824790bda681b40efd767e2251a7 to before e3b89306967275b927d7812cd9ab5bd6bc0e189e Affectedfe8fe7723a3a824790bda681b40efd767e2251a7 to before 49ae55c52765cd38c08964e144bd99ced978f35f Affectedfe8fe7723a3a824790bda681b40efd767e2251a7 to before 45ecea8c55521d424513178fb612cefffb09a9f5 Affected96860db5c09fd936bfd871f70bc4448c335e8444 Affected08b43e0e5549abbacd993736b488f467e0e41fe0 Affected5.4.33 to before 5.5 Affected5.5.18 to before 5.6 Affected |
| Linux Linux | 5.6 Affectedbefore 5.6 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/7aa60cbcb05e5f2dec025713aee25b7052a9d92e
- https://git.kernel.org/stable/c/238578499dc0585ff948158350e715e86b9bfde0
- https://git.kernel.org/stable/c/fc0d0436059b9beccb2b45710c4642feb86bdc5b
- https://git.kernel.org/stable/c/3410f2493c4be8d617f8196a0d84a4517ed333e7
- https://git.kernel.org/stable/c/227c101eb5fe1ed1c2df5a6812f1150997c909e1
- https://git.kernel.org/stable/c/e3b89306967275b927d7812cd9ab5bd6bc0e189e
- https://git.kernel.org/stable/c/49ae55c52765cd38c08964e144bd99ced978f35f
- https://git.kernel.org/stable/c/45ecea8c55521d424513178fb612cefffb09a9f5
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.