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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-29)
- **Published:** 2026-08-15T05:54:28.905Z
- **Modified:** 2026-11-06T17:19:40.943Z

## Who should check

- Anyone running Linux \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< bbb1ecaed4ed7680e63d3a0f143f03de32de5d6e; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< e2dac91380a10e9e8d5883fb73ce9d9b390a629c; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 0baf9d43a7b7b43df2900bd8656e75b725028b6e; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< a3e340d506c1036a747fb0972aebf1063f7ef30e; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 760a1029692f1d788dc11aa636a3bf432e58b240; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 16a42c88c4667fa0bd944e438a667e059551f1f1; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 2ff8156fd500d54c61430b6834137fd0a07047ce; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 8c2f0b42fc252e1bf1c7746447091a468e784ca1
- Anyone running Linux 2.6.21

## 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.

## Affected and fixed versions

- Linux: \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< bbb1ecaed4ed7680e63d3a0f143f03de32de5d6e; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< e2dac91380a10e9e8d5883fb73ce9d9b390a629c; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 0baf9d43a7b7b43df2900bd8656e75b725028b6e; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< a3e340d506c1036a747fb0972aebf1063f7ef30e; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 760a1029692f1d788dc11aa636a3bf432e58b240; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 16a42c88c4667fa0bd944e438a667e059551f1f1; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 2ff8156fd500d54c61430b6834137fd0a07047ce; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 8c2f0b42fc252e1bf1c7746447091a468e784ca1 (cvelist)
- Linux: 2.6.21 (cvelist)

## Mitigation

- Upgrade Linux to 8c2f0b42fc252e1bf1c7746447091a468e784ca1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72240. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72240.md
Affected: Linux >= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, < bbb1ecaed4ed7680e63d3a0f143f03de32de5d6e; >= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, < e2dac91380a10e9e8d5883fb73ce9d9b390a629c; >= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, < 0baf9d43a7b7b43df2900bd8656e75b725028b6e; >= b6d6454fdb66f3829af8b92…
Fixed in: Linux 0baf9d43a7b7b43df2900bd8656e75b725028b6e, Linux 760a1029692f1d788dc11aa636a3bf432e58b240, Linux 16a42c88c4667fa0bd944e438a667e059551f1f1, Linux 2ff8156fd500d54c61430b6834137fd0a07047ce, Linux 8c2f0b42fc252e1bf1c7746447091a468e784ca1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72240 being exploited?

There is no confirmed exploitation: CVE-2026-72240 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-72240?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-72240?

Linux \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< bbb1ecaed4ed7680e63d3a0f143f03de32de5d6e; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< e2dac91380a10e9e8d5883fb73ce9d9b390a629c; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 0baf9d43a7b7b43df2900bd8656e75b725028b6e; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< a3e340d506c1036a747fb0972aebf1063f7ef30e; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 760a1029692f1d788dc11aa636a3bf432e58b240; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 16a42c88c4667fa0bd944e438a667e059551f1f1; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 2ff8156fd500d54c61430b6834137fd0a07047ce; \>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, \< 8c2f0b42fc252e1bf1c7746447091a468e784ca1; Linux 2.6.21.

### Is there a fix for CVE-2026-72240?

Yes. Fixed in Linux 0baf9d43a7b7b43df2900bd8656e75b725028b6e, Linux 760a1029692f1d788dc11aa636a3bf432e58b240, Linux 16a42c88c4667fa0bd944e438a667e059551f1f1, Linux 2ff8156fd500d54c61430b6834137fd0a07047ce, Linux 8c2f0b42fc252e1bf1c7746447091a468e784ca1. Upgrade Linux to 8c2f0b42fc252e1bf1c7746447091a468e784ca1 or later.

### How do I check if I'm affected by CVE-2026-72240?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72240>

HTML: <https://flawdb.com/CVE-2026-72240> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72240>
