Description
In the Linux kernel, the following vulnerability has been resolved: mfd: sm501: Fix potential memory leaks during remove The memory allocated for struct sm501_devdata in sm501_pci_probe() and sm501_plat_probe() is not freed by the corresponding remove functions sm501_pci_remove() and sm501_plat_remove(). Fix that by adding a call to kfree().
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
b6d6454fdb66f3829af8b92ab06825b6060fdf7e to < b78e34ed7e97763d493d95a5c1edefffbfd2f356affectedb6d6454fdb66f3829af8b92ab06825b6060fdf7e to < fcc6c3b11d73459e0d55b27c98cc56d59fef4d82affectedb6d6454fdb66f3829af8b92ab06825b6060fdf7e to < 94ca4f040ba489db2d4b66e9d1ee91b4f9a00534affectedb6d6454fdb66f3829af8b92ab06825b6060fdf7e to < c8be3a076a59ec793fb2e4bdb830a709aaea9cceaffectedb6d6454fdb66f3829af8b92ab06825b6060fdf7e to < 83feedd9d83c0c5199f98c72df0a6196b4aefb4daffected
Linux Linux
Default version status: affected
2.6.21affected0 to < 2.6.21unaffected6.6.160 to ≤ 6.6.*unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/b78e34ed7e97763d493d95a5c1edefffbfd2f356 ↗
- https://git.kernel.org/stable/c/fcc6c3b11d73459e0d55b27c98cc56d59fef4d82 ↗
- https://git.kernel.org/stable/c/94ca4f040ba489db2d4b66e9d1ee91b4f9a00534 ↗
- https://git.kernel.org/stable/c/c8be3a076a59ec793fb2e4bdb830a709aaea9cce ↗
- https://git.kernel.org/stable/c/83feedd9d83c0c5199f98c72df0a6196b4aefb4d ↗