CVE-2026-143419: crypto: omap-des - fix crypto engine cleanup
In the Linux kernel, the following vulnerability has been resolved:
crypto: omap-des - fix crypto engine cleanup
omapdesprobe() allocates and starts a crypto engine, but the remove path does not call the matching cryptoengineexit(). The probe failure path already performs this cleanup.
cryptoengineallocinit() creates a kthread worker for processing requests. Without cryptoengineexit() during driver removal, the worker is left running after the device is removed.
Call cryptoengineexit() after unregistering the algorithms and before tearing down the remaining request handling resources. This stops the engine and destroys its worker.
This issue was found by manual code inspection.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Call crypto_engine_exit() after unregistering the algorithms and before tearing down the remaining request-handling resources during driver removal.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the Linux kernel OMAP DES crypto driver are exposed when that driver is removed after successfully starting its crypto engine. The issue concerns driver removal rather than normal request processing.
What happens when the affected driver is removed?
The crypto engine's kthread worker can remain running after the device has been removed because the remove path does not call crypto_engine_exit(). This leaves the engine worker alive instead of stopping and destroying it during teardown.
What should be done if updating is not immediately possible?
Avoid removing or unloading the affected OMAP DES driver after it has been initialized. The provided fix adds crypto_engine_exit() during driver removal, after algorithm unregistration and before remaining request-handling resources are torn down.