CVE-2026-138995: media: ene_ir: Ensure teardown is done in the correct order
In the Linux kernel, the following vulnerability has been resolved:
media: eneir: Ensure teardown is done in the correct order
The timer can be re-armed from the irq, so ensure that the timers are deleted after the irq and that we only free the rc device once we are sure that the irq has been silenced.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.118 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.118-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.118-1Fixed in 7.3.4-1 - Compensating control
In the media: ene_ir teardown path, silence the IRQ before freeing the rc device, and delete the timers after the IRQ.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel ene_ir media driver are the relevant exposure population. The issue concerns driver teardown, specifically when an interrupt can re-arm a timer while the device is being removed or shut down.
What condition is required to trigger the vulnerability?
The vulnerable condition requires teardown to occur while the device interrupt can still run and re-arm its timer. Freeing the rc device before the interrupt has been silenced can create the unsafe ordering described in the fix.
How can administrators determine whether their kernel includes the fix?
Check whether the kernel source or vendor patch set contains one of the referenced stable commits: 4f15dc6d83b27aa9f854f9d8854c8487188eb9fc, c2c65c9e5691abb47ee47fd1a59e1c5e8fa72276, or dee5160991876c183962a21ba5d186980c3547dc.