Description
In the Linux kernel, the following vulnerability has been resolved: spi: mtk-snfi: unregister ECC engine on probe failure and remove() callback mtk_snand_probe() registers the on-host NAND ECC engine, but teardown was missing from both probe unwind and remove-time cleanup. Add a devm cleanup action after successful registration so nand_ecc_unregister_on_host_hw_engine() runs automatically on probe failures and during device removal.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
764f1b7481645b2b4488eda26c4da7f331697e6b to < 6aea4a99410615912d80a4ba0827c4e8d4a8312daffected764f1b7481645b2b4488eda26c4da7f331697e6b to < 3e79a563377a319d016ed0d3cd8c43171670c0f3affected764f1b7481645b2b4488eda26c4da7f331697e6b to < 86357e1d0157d8408b78f8768a69ab263d010316affected764f1b7481645b2b4488eda26c4da7f331697e6b to < e0b049bd7b279d7b6ad22a637cddced93198a51baffected764f1b7481645b2b4488eda26c4da7f331697e6b to < 98cf4b58299e0c6a537c68cd32155d9e7569e7cbaffected764f1b7481645b2b4488eda26c4da7f331697e6b to < ab00febad191d7a4400aa1c3468279fb508258d4affected
Linux Linux
Default version status: affected
5.19affected0 to < 5.19unaffected6.1.175 to ≤ 6.1.*unaffected6.6.141 to ≤ 6.6.*unaffected6.12.91 to ≤ 6.12.*unaffected6.18.33 to ≤ 6.18.*unaffected7.0.10 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/6aea4a99410615912d80a4ba0827c4e8d4a8312d ↗
- https://git.kernel.org/stable/c/3e79a563377a319d016ed0d3cd8c43171670c0f3 ↗
- https://git.kernel.org/stable/c/86357e1d0157d8408b78f8768a69ab263d010316 ↗
- https://git.kernel.org/stable/c/e0b049bd7b279d7b6ad22a637cddced93198a51b ↗
- https://git.kernel.org/stable/c/98cf4b58299e0c6a537c68cd32155d9e7569e7cb ↗
- https://git.kernel.org/stable/c/ab00febad191d7a4400aa1c3468279fb508258d4 ↗