spi: mtk-snfi: unregister ECC engine on probe failure and remove() callback
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3e79a563377a319d016ed0d3cd8c43171670c0f3, Kernel 6aea4a99410615912d80a4ba0827c4e8d4a8312d, Kernel 86357e1d0157d8408b78f8768a69ab263d010316 and 3 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.19, >=764f1b7481645b2b4488eda26c4da7f331697e6b <3e79a563377a319d016ed0d3cd8c43171670c0f3, >=764f1b7481645b2b4488eda26c4da7f331697e6b <6aea4a99410615912d80a4ba0827c4e8d4a8312d, >=764f1b7481645b2b4488eda26c4da7f331697e6b <86357e1d0157d8408b78f8768a69ab263d010316, >=764f1b7481645b2b4488eda26c4da7f331697e6b <98cf4b58299e0c6a537c68cd32155d9e7569e7cb, >=764f1b7481645b2b4488eda26c4da7f331697e6b <ab00febad191d7a4400aa1c3468279fb508258d4, >=764f1b7481645b2b4488eda26c4da7f331697e6b <e0b049bd7b279d7b6ad22a637cddced93198a51b | 3e79a563377a319d016ed0d3cd8c43171670c0f3, 6aea4a99410615912d80a4ba0827c4e8d4a8312d, 86357e1d0157d8408b78f8768a69ab263d010316, 98cf4b58299e0c6a537c68cd32155d9e7569e7cb, ab00febad191d7a4400aa1c3468279fb508258d4, e0b049bd7b279d7b6ad22a637cddced93198a51b |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket