crypto: omap-sham - fix crypto engine cleanup
- CVE-2026-143418
- EUVD-2026-145015
Summary
In the Linux kernel's omap-sham crypto driver, the probe path starts a crypto engine that creates a kernel worker thread for processing requests, but the remove path never calls the matching cleanup function. The probe failure path already performs this cleanup, so the omission only affects normal driver removal, where the worker is left running after the device is gone. The fix calls crypto_engine_exit() during removal, after unregistering the algorithms and before tearing down the remaining request handling resources. The record notes the issue was found by manual code inspection. It is not listed as known exploited and has no CVSS score.
AI summary · verify against the vendor advisory
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: omap-sham - fix crypto engine cleanup omap_sham_probe() allocates and starts a crypto engine, but the remove path does not call the matching crypto_engine_exit(). The probe failure path already performs this cleanup. crypto_engine_alloc_init() creates a kthread worker for processing requests. Without crypto_engine_exit() during driver removal, the worker is left running after the device is removed. Call crypto_engine_exit() 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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Linux
Affected versions Fixed in 5.10 none stated before 5.10: not affected none stated from 5.10.275 up to 5.10.*: not affected none stated from 5.15.226 up to 5.15.*: not affected none stated from 6.1.193 up to 6.1.*: not affected none stated from 6.6.163 up to 6.6.*: not affected none stated from 6.12.118 up to 6.12.*: not affected none stated from 6.18.64 up to 6.18.*: not affected none stated and 2 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.