# CVE-2026-138858: soc: fsl: dpio: Free the IRQ before releasing the I/O object

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-30T13:25:38.600Z
- Modified: 2026-11-30T14:17:42.000Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 993fec7e11ca81bf4cce740aa1a708cad23e54e8 before 45f2a94f4feed5eb380feca4a91a67259c4db972; from 993fec7e11ca81bf4cce740aa1a708cad23e54e8 before a799df8a618f8dc59b33e53368942f88ddc10610; from 993fec7e11ca81bf4cce740aa1a708cad23e54e8 before f05ac5b76b5ee29c1b44234ac87e516e2697bafd; from 993fec7e11ca81bf4cce740aa1a708cad23e54e8 before e628d0b0145c3a177f1c21f6879ed5405e87489b; from 993fec7e11ca81bf4cce740aa1a708cad23e54e8 before af6c94650761ee506f069e5a9150cae7c6f4d1cc; from 993fec7e11ca81bf4cce740aa1a708cad23e54e8 before c3575058ef57d31dc12c544cee9653289b851036; from 993fec7e11ca81bf4cce740aa1a708cad23e54e8 before bf413f565ad9bef90ebfb91668de3ae28d3965a6; from 993fec7e11ca81bf4cce740aa1a708cad23e54e8 before a7831c657c90e8f9165f6bbe0cc56262fee075e8; 4.12 (not affected: before 4.12; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-138858](https://www.cve.org/CVERecord?id=CVE-2026-138858), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138858](https://nvd.nist.gov/vuln/detail/CVE-2026-138858), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138858 · Whole record: https://cve.day/CVE-2026-138858.json · Rebuilt by cve.day 2026-11-30T14:33:02.034Z
