CVE-2026-72240
mfd: sm501: Fix reference leak on failed device registration
Reported by linux · Published August 15, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | e2dac91380a10e9e8d5883fb73ce9d9b390a629c, bbb1ecaed4ed7680e63d3a0f143f03de32de5d6e, a3e340d506c1036a747fb0972aebf1063f7ef30e, 8c2f0b42fc252e1bf1c7746447091a468e784ca1, 760a1029692f1d788dc11aa636a3bf432e58b240, 2ff8156fd500d54c61430b6834137fd0a07047ce, 16a42c88c4667fa0bd944e438a667e059551f1f1, 0baf9d43a7b7b43df2900bd8656e75b725028b6e |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b6d6454fdb66f3829af8b92ab06825b6060fdf7e, b6d6454fdb66f3829af8b92ab06825b6060fdf7e, b6d6454fdb66f3829af8b92ab06825b6060fdf7e |
| Linux | Linux | 2.6.21, 0, 5.10.261 |
| Linux | Linux | 7.2, 0, 5.10.261 |
| linux | linux_kernel | 2.6.21, 2.6.21, 2.6.21 |
Timeline
- Aug 15, 2026 Coalition ESS Score
- Aug 15, 2026 CVE Published
- Aug 19, 2026 Security Advisory
- Aug 24, 2026 EPSS Score (17 in total, the first dated here)
- Nov 6, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-72240
vulnetix vdb fixes CVE-2026-72240
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72240/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart