CVE-2026-138858
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.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/45f2a94f4feed5eb380feca4a91a67259c4db972nvd
- git.kernel.org/stable/c/a7831c657c90e8f9165f6bbe0cc56262fee075e8nvd
- git.kernel.org/stable/c/a799df8a618f8dc59b33e53368942f88ddc10610nvd
- git.kernel.org/stable/c/af6c94650761ee506f069e5a9150cae7c6f4d1ccnvd
- git.kernel.org/stable/c/bf413f565ad9bef90ebfb91668de3ae28d3965a6nvd
- git.kernel.org/stable/c/c3575058ef57d31dc12c544cee9653289b851036nvd
- git.kernel.org/stable/c/e628d0b0145c3a177f1c21f6879ed5405e87489bnvd
- git.kernel.org/stable/c/f05ac5b76b5ee29c1b44234ac87e516e2697bafdnvd
News mentions
0No linked articles in our index yet.