CVE-2026-72240

Not scored yetLast modified Nov 6, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, < bbb1ecaed4ed7680e63d3a0f143f03de32de5d6e; >= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, < e2dac91380a10e9e8d5883fb73ce9d9b390a629c; >= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, < 0baf9d43a7b7b43df2900bd8656e75b725028b6e; >= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, < a3e340d506c1036a747fb0972aebf1063f7ef30e; >= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, < 760a1029692f1d788dc11aa636a3bf432e58b240; >= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, < 16a42c88c4667fa0bd944e438a667e059551f1f1; >= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, < 2ff8156fd500d54c61430b6834137fd0a07047ce; >= b6d6454fdb66f3829af8b92ab06825b6060fdf7e, < 8c2f0b42fc252e1bf1c7746447091a468e784ca1
LinuxLinux2.6.21

References

Timeline

Published
Aug 15, 2026
Last modified
Nov 6, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-72241In the Linux kernel, the following vulnerability has been resolved: leds: uleds: Fix potential buffer overread The name string supplied byCVE-2026-722427.5In the Linux kernel, the following vulnerability has been resolved: selinux: avoid sk_socket dereference in selinux_sctp_bind_connect() seCVE-2026-722438.4In the Linux kernel, the following vulnerability has been resolved: selinux: check connect-related permissions on TCP Fast Open Similar toCVE-2026-722447.8In the Linux kernel, the following vulnerability has been resolved: gpu/buddy: bail out of try_harder when alignment cannot be honoured ThCVE-2026-72245In the Linux kernel, the following vulnerability has been resolved: gpu: host1x: Fix device reference leak in host1x_device_parse_dt() erroCVE-2026-722477.5In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conncount: fix zone comparison in tuple dedup The "alreaCVE-2026-722489.8In the Linux kernel, the following vulnerability has been resolved: netfilter: flowtable: support IPIP tunnel with direct xmit The combinaCVE-2026-722499.8In the Linux kernel, the following vulnerability has been resolved: netfilter: flowtable: use dst in this direction when pushing IPIP headeCVE-2026-72257.3A weakness has been identified in SourceCodester Pizzafy Ecommerce System 1.0. This vulnerability affects the function delete_menu of the fiCVE-2026-722507.8In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_reasm: guard mac_header adjustment after IPv6 dCVE-2026-722519.8In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_nat_sip: reload possible stale data pointer quoting sashCVE-2026-722527.8In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_pipapo: don't leak bad clone into future transaction
CVE-2026-72240: Unscored | Vulnix