CVE-2026-138858
JSON

Not scored

soc: fsl: dpio: Free the IRQ before releasing the I/O object

Severity
Not scored
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-138858 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-138858 changed 2026-11-30Public domain