In the Linux kernel, the following vulnerability has been resolved: spi: amlogic-spisg: Fix memory leak in aml_spisg_probe() In aml_spisg_probe(), ctlr is allocated by spi_alloc_target()/spi_alloc_host(), but fails to call spi_controller_put() in several error paths. This leads to a memory leak whenever the driver fails to probe after the initial allocation. Convert to use devm_spi_alloc_host()/devm_spi_alloc_target() to fix the memory leak.
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | 12.4(16a) |
| Linux | Linux | 12.4(23a) |
| Linux | Linux | 2008 R2 for x64-based Systems Service Pack 1 |
| Linux | Linux | 2012 (Core installation) |