Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: crypto: keembay - Initialize completion before requesting IRQ kmb_ocs_aes_probe() requests the device IRQ before initializing irq_completion. Once the handler is registered it can run immediately, and ocs_aes_irq_handler() unconditionally calls complete(). An interrupt in this window would therefore use an uninitialized completion. Initialize the completion before requesting the IRQ, as the sibling OCS HCU and ECC drivers already do.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 88574332451380f4b51f6ca88ab9810e714bfb9b before a3ffced8be1555f283680065c3b87a19f5ab9097; affected 88574332451380f4b51f6ca88ab9810e714bfb9b before 4ce407055ae9d37f46a3c6f05eb27198b354d287; affected 88574332451380f4b51f6ca88ab9810e714bfb9b before d52a15c4559b69805bc69bf4ad9e16bbf6480d52; affected 88574332451380f4b51f6ca88ab9810e714bfb9b before f8970ee9e315c9e2258ae8914d5fb32b1039d2f6; affected 88574332451380f4b51f6ca88ab9810e714bfb9b before 7efb51a5893b22003a679d088b7794be2ccd6c32; affected 88574332451380f4b51f6ca88ab9810e714bfb9b before 5aae80dcec0748b4ed61daace2ad8b12082261f2; affected 88574332451380f4b51f6ca88ab9810e714bfb9b before fce20289dd622cc7ab78d72c8a979a9f8b7cb10e |
| Linux / Linux | affected 5.11; unaffected 0 before 5.11; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/a3ffced8be1555f283680065c3b87a19f5ab9097
- https://git.kernel.org/stable/c/4ce407055ae9d37f46a3c6f05eb27198b354d287
- https://git.kernel.org/stable/c/d52a15c4559b69805bc69bf4ad9e16bbf6480d52
- https://git.kernel.org/stable/c/f8970ee9e315c9e2258ae8914d5fb32b1039d2f6
- https://git.kernel.org/stable/c/7efb51a5893b22003a679d088b7794be2ccd6c32
- https://git.kernel.org/stable/c/5aae80dcec0748b4ed61daace2ad8b12082261f2
- https://git.kernel.org/stable/c/fce20289dd622cc7ab78d72c8a979a9f8b7cb10e