soc: fsl: dpio: Free the IRQ before releasing the I/O object
- 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: Free the IRQ before releasing the I/O object
The DPIO interrupt handler accesses priv->io, but dpaa2_dpio_remove() releases that object before tearing down the interrupts. The IRQ was requested with devm_request_irq(), and unregister_dpio_irq_handlers() only clears its affinity hint. fsl_mc_free_irqs() returns IRQ resources to the MC resource pool without freeing the handler. An interrupt can therefore access the freed I/O object before devres releases the IRQ.
Explicitly free the managed IRQ in unregister_dpio_irq_handlers() before returning its resource to the pool, and perform IRQ teardown before releasing the I/O object. This also waits for an in-flight handler while the object is still valid.
This issue was identified during our ongoing static-analysis research while reviewing kernel code.
| Product | Versions |
|---|---|
| Linux Linux | 993fec7e11ca81bf4cce740aa1a708cad23e54e8 to before 45f2a94f4feed5eb380feca4a91a67259c4db972 Affected993fec7e11ca81bf4cce740aa1a708cad23e54e8 to before a799df8a618f8dc59b33e53368942f88ddc10610 Affected993fec7e11ca81bf4cce740aa1a708cad23e54e8 to before f05ac5b76b5ee29c1b44234ac87e516e2697bafd Affected993fec7e11ca81bf4cce740aa1a708cad23e54e8 to before e628d0b0145c3a177f1c21f6879ed5405e87489b Affected993fec7e11ca81bf4cce740aa1a708cad23e54e8 to before af6c94650761ee506f069e5a9150cae7c6f4d1cc Affected993fec7e11ca81bf4cce740aa1a708cad23e54e8 to before c3575058ef57d31dc12c544cee9653289b851036 Affected993fec7e11ca81bf4cce740aa1a708cad23e54e8 to before bf413f565ad9bef90ebfb91668de3ae28d3965a6 Affected993fec7e11ca81bf4cce740aa1a708cad23e54e8 to before a7831c657c90e8f9165f6bbe0cc56262fee075e8 Affected |
| Linux Linux | 4.12 Affectedbefore 4.12 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/45f2a94f4feed5eb380feca4a91a67259c4db972
- https://git.kernel.org/stable/c/a799df8a618f8dc59b33e53368942f88ddc10610
- https://git.kernel.org/stable/c/f05ac5b76b5ee29c1b44234ac87e516e2697bafd
- https://git.kernel.org/stable/c/e628d0b0145c3a177f1c21f6879ed5405e87489b
- https://git.kernel.org/stable/c/af6c94650761ee506f069e5a9150cae7c6f4d1cc
- https://git.kernel.org/stable/c/c3575058ef57d31dc12c544cee9653289b851036
- https://git.kernel.org/stable/c/bf413f565ad9bef90ebfb91668de3ae28d3965a6
- https://git.kernel.org/stable/c/a7831c657c90e8f9165f6bbe0cc56262fee075e8
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.