CVE-2026-139645: crypto: ccp - kill v3 IRQ tasklet during teardown
In the Linux kernel, the following vulnerability has been resolved:
crypto: ccp - kill v3 IRQ tasklet during teardown
On PCI devices using MSI-X, ccpirqhandler() schedules irqtasklet. The teardown paths release the IRQ but do not drain a tasklet that was already queued, so it can access ccp after the device-managed allocation has been released.
Kill the tasklet after releasing the IRQ in both the initialization error path and ccpdestroy().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In both the initialization error path and ccp_destroy(), release the IRQ and then kill the v3 IRQ tasklet so queued work cannot access the released device-managed allocation.
Event History
Frequently Asked Questions
Which systems are affected by this teardown race?
The issue applies to PCI devices using MSI-X where ccp_irq_handler() can schedule irq_tasklet. The provided information does not indicate that non-MSI-X interrupt configurations are affected.
Can the race occur during failed initialization as well as normal device destruction?
Yes. The affected teardown paths include both the initialization error path and ccp_destroy(). In each case, a queued tasklet may run after the IRQ is released and after the device-managed ccp allocation has been freed.
What change resolves the unsafe teardown sequence?
The fix kills the IRQ tasklet after releasing the IRQ, draining any tasklet that was already queued before the ccp allocation can be accessed after release.