mfd: sm501: Fix potential memory leaks during remove
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.109, 6.18.50, 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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().
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From b6d6454fdb66f3829af8b92ab06825b6060fdf7e · fixed in b78e34ed7e97763d493d95a5c1edefffbfd2f356; From b6d6454fdb66f3829af8b92ab06825b6060fdf7e · fixed in fcc6c3b11d73459e0d55b27c98cc56d59fef4d82; From b6d6454fdb66f3829af8b92ab06825b6060fdf7e · fixed in 94ca4f040ba489db2d4b66e9d1ee91b4f9a00534; From b6d6454fdb66f3829af8b92ab06825b6060fdf7e · fixed in c8be3a076a59ec793fb2e4bdb830a709aaea9cce; From b6d6454fdb66f3829af8b92ab06825b6060fdf7e · fixed in 83feedd9d83c0c5199f98c72df0a6196b4aefb4d
- Linux Linux
2.6.21
- KernelLinux
From 2.6.21 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4