# CVE-2026-72240: mfd: sm501: Fix reference leak on failed device registration

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-08-15T05:54:28.905Z
- Modified: 2026-11-06T17:19:40.943Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

mfd: sm501: Fix reference leak on failed device registration

When platform_device_register() fails in sm501_register_device(), the
embedded struct device in pdev has already been initialized by
device_initialize(), but the failure path only reports the error and
returns without dropping the device reference for the current platform
device:

  sm501_register_device()
    -> platform_device_register(pdev)
       -> device_initialize(&pdev->dev)
       -> setup_pdev_dma_masks(pdev)
       -> platform_device_add(pdev)

This leads to a reference leak when platform_device_register() fails.
Fix this by calling platform_device_put() before returning the error.

The issue was identified by a static analysis tool I developed and
confirmed by manual review.

(As written by CVE List.)

## Affected

- Linux Linux: from b6d6454fdb66f3829af8b92ab06825b6060fdf7e before bbb1ecaed4ed7680e63d3a0f143f03de32de5d6e; from b6d6454fdb66f3829af8b92ab06825b6060fdf7e before e2dac91380a10e9e8d5883fb73ce9d9b390a629c; from b6d6454fdb66f3829af8b92ab06825b6060fdf7e before 0baf9d43a7b7b43df2900bd8656e75b725028b6e; from b6d6454fdb66f3829af8b92ab06825b6060fdf7e before a3e340d506c1036a747fb0972aebf1063f7ef30e; from b6d6454fdb66f3829af8b92ab06825b6060fdf7e before 760a1029692f1d788dc11aa636a3bf432e58b240; from b6d6454fdb66f3829af8b92ab06825b6060fdf7e before 16a42c88c4667fa0bd944e438a667e059551f1f1; from b6d6454fdb66f3829af8b92ab06825b6060fdf7e before 2ff8156fd500d54c61430b6834137fd0a07047ce; from b6d6454fdb66f3829af8b92ab06825b6060fdf7e before 8c2f0b42fc252e1bf1c7746447091a468e784ca1; 2.6.21 (not affected: before 2.6.21; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/bbb1ecaed4ed7680e63d3a0f143f03de32de5d6e>
- <https://git.kernel.org/stable/c/e2dac91380a10e9e8d5883fb73ce9d9b390a629c>
- <https://git.kernel.org/stable/c/0baf9d43a7b7b43df2900bd8656e75b725028b6e>
- <https://git.kernel.org/stable/c/a3e340d506c1036a747fb0972aebf1063f7ef30e>
- <https://git.kernel.org/stable/c/760a1029692f1d788dc11aa636a3bf432e58b240>
- <https://git.kernel.org/stable/c/16a42c88c4667fa0bd944e438a667e059551f1f1>
- <https://git.kernel.org/stable/c/2ff8156fd500d54c61430b6834137fd0a07047ce>
- <https://git.kernel.org/stable/c/8c2f0b42fc252e1bf1c7746447091a468e784ca1>

## Sources

- CVE List: [CVE-2026-72240](https://www.cve.org/CVERecord?id=CVE-2026-72240), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-72240](https://nvd.nist.gov/vuln/detail/CVE-2026-72240), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-72240 · Whole record: https://cve.day/CVE-2026-72240.json · Rebuilt by cve.day 2026-11-25T22:59:33.055Z
