FKIE_CVE-2026-72240
Vulnerability from fkie_nvd - Published: 2026-08-15 06:21 - Updated: 2026-08-17 06:18
Severity
Summary
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.
References
Impacted products
| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/mfd/sm501.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "bbb1ecaed4ed7680e63d3a0f143f03de32de5d6e",
"status": "affected",
"version": "b6d6454fdb66f3829af8b92ab06825b6060fdf7e",
"versionType": "git"
},
{
"lessThan": "e2dac91380a10e9e8d5883fb73ce9d9b390a629c",
"status": "affected",
"version": "b6d6454fdb66f3829af8b92ab06825b6060fdf7e",
"versionType": "git"
},
{
"lessThan": "0baf9d43a7b7b43df2900bd8656e75b725028b6e",
"status": "affected",
"version": "b6d6454fdb66f3829af8b92ab06825b6060fdf7e",
"versionType": "git"
},
{
"lessThan": "a3e340d506c1036a747fb0972aebf1063f7ef30e",
"status": "affected",
"version": "b6d6454fdb66f3829af8b92ab06825b6060fdf7e",
"versionType": "git"
},
{
"lessThan": "760a1029692f1d788dc11aa636a3bf432e58b240",
"status": "affected",
"version": "b6d6454fdb66f3829af8b92ab06825b6060fdf7e",
"versionType": "git"
},
{
"lessThan": "16a42c88c4667fa0bd944e438a667e059551f1f1",
"status": "affected",
"version": "b6d6454fdb66f3829af8b92ab06825b6060fdf7e",
"versionType": "git"
},
{
"lessThan": "2ff8156fd500d54c61430b6834137fd0a07047ce",
"status": "affected",
"version": "b6d6454fdb66f3829af8b92ab06825b6060fdf7e",
"versionType": "git"
},
{
"lessThan": "8c2f0b42fc252e1bf1c7746447091a468e784ca1",
"status": "affected",
"version": "b6d6454fdb66f3829af8b92ab06825b6060fdf7e",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/mfd/sm501.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.21"
},
{
"lessThan": "2.6.21",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.261",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.212",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.178",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.145",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.97",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.40",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmfd: sm501: Fix reference leak on failed device registration\n\nWhen platform_device_register() fails in sm501_register_device(), the\nembedded struct device in pdev has already been initialized by\ndevice_initialize(), but the failure path only reports the error and\nreturns without dropping the device reference for the current platform\ndevice:\n\n sm501_register_device()\n -\u003e platform_device_register(pdev)\n -\u003e device_initialize(\u0026pdev-\u003edev)\n -\u003e setup_pdev_dma_masks(pdev)\n -\u003e platform_device_add(pdev)\n\nThis leads to a reference leak when platform_device_register() fails.\nFix this by calling platform_device_put() before returning the error.\n\nThe issue was identified by a static analysis tool I developed and\nconfirmed by manual review."
}
],
"id": "CVE-2026-72240",
"lastModified": "2026-08-17T06:18:25.593",
"metrics": {},
"published": "2026-08-15T06:21:51.063",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/0baf9d43a7b7b43df2900bd8656e75b725028b6e"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/16a42c88c4667fa0bd944e438a667e059551f1f1"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/2ff8156fd500d54c61430b6834137fd0a07047ce"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/760a1029692f1d788dc11aa636a3bf432e58b240"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/8c2f0b42fc252e1bf1c7746447091a468e784ca1"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/a3e340d506c1036a747fb0972aebf1063f7ef30e"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/bbb1ecaed4ed7680e63d3a0f143f03de32de5d6e"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/e2dac91380a10e9e8d5883fb73ce9d9b390a629c"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Loading…
Loading…