CVE-2026-72240
mfd: sm501: Fix reference leak on failed device registration
Check your servers for CVE-2026-72240
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-72240 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 6 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b6d6454fdb66f3829af8b92ab06825b6060fdf7e, before bbb1ecaed4ed7680e63d3a0f143f03de32de5d6e affected from b6d6454fdb66f3829af8b92ab06825b6060fdf7e, before e2dac91380a10e9e8d5883fb73ce9d9b390a629c affected from b6d6454fdb66f3829af8b92ab06825b6060fdf7e, before 0baf9d43a7b7b43df2900bd8656e75b725028b6e affected from b6d6454fdb66f3829af8b92ab06825b6060fdf7e, before a3e340d506c1036a747fb0972aebf1063f7ef30e affected from b6d6454fdb66f3829af8b92ab06825b6060fdf7e, before 760a1029692f1d788dc11aa636a3bf432e58b240 affected from b6d6454fdb66f3829af8b92ab06825b6060fdf7e, before 16a42c88c4667fa0bd944e438a667e059551f1f1 affected from b6d6454fdb66f3829af8b92ab06825b6060fdf7e, before 2ff8156fd500d54c61430b6834137fd0a07047ce affected from b6d6454fdb66f3829af8b92ab06825b6060fdf7e, before 8c2f0b42fc252e1bf1c7746447091a468e784ca1
Other versions: unaffected
|
| Linux |
affected 2.6.21 unaffected before 2.6.21 unaffected from 5.10.261 up to and including 5.10.* unaffected from 5.15.212 up to and including 5.15.* unaffected from 6.1.178 up to and including 6.1.* unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.97 up to and including 6.12.* unaffected from 6.18.40 up to and including 6.18.* unaffected from 7.1.5 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-72240 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-72240
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-72240
trivy image --scanners vuln IMAGE | grep CVE-2026-72240
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/bbb1ecaed4ed7680e63d3a0f143f03de32de5d6e git.kernel.org
- https://git.kernel.org/stable/c/e2dac91380a10e9e8d5883fb73ce9d9b390a629c git.kernel.org
- https://git.kernel.org/stable/c/0baf9d43a7b7b43df2900bd8656e75b725028b6e git.kernel.org
- https://git.kernel.org/stable/c/a3e340d506c1036a747fb0972aebf1063f7ef30e git.kernel.org
- https://git.kernel.org/stable/c/760a1029692f1d788dc11aa636a3bf432e58b240 git.kernel.org
- https://git.kernel.org/stable/c/16a42c88c4667fa0bd944e438a667e059551f1f1 git.kernel.org
- https://git.kernel.org/stable/c/2ff8156fd500d54c61430b6834137fd0a07047ce git.kernel.org
- https://git.kernel.org/stable/c/8c2f0b42fc252e1bf1c7746447091a468e784ca1 git.kernel.org
Source: the record CVE-2026-72240 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse