Back

MEDIUM

mfd: sm501: Fix potential memory leaks during remove

Published Sep 11, 2026

Description

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

Remediation

No remediation recorded yet.

Metrics

Weaknesses (1)

References (9)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner Linux
Published Sep 11, 2026
Updated Sep 11, 2026
Reserved Aug 26, 2026
NVD
Status Received
Modified Sep 11, 2026
Red Hat
Severity Low
Public date Sep 11, 2026