{"id":"CVE-2026-72240","aliases":["CVE-2026-72240"],"related":[],"kind":"vulnerability","state":"published","title":"mfd: sm501: Fix reference leak on failed device registration","summary":"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    -> platform_device_register(pdev)\n       -> device_initialize(&pdev->dev)\n       -> setup_pdev_dma_masks(pdev)\n       -> 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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    -> platform_device_register(pdev)\n       -> device_initialize(&pdev->dev)\n       -> setup_pdev_dma_masks(pdev)\n       -> 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.","source":"cvelist"}],"published":"2026-08-15T05:54:28.905Z","modified":"2026-11-06T17:19:40.943Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b6d6454fdb66f3829af8b92ab06825b6060fdf7e","fixed":"bbb1ecaed4ed7680e63d3a0f143f03de32de5d6e","status":"affected"},{"type":"git","introduced":"b6d6454fdb66f3829af8b92ab06825b6060fdf7e","fixed":"e2dac91380a10e9e8d5883fb73ce9d9b390a629c","status":"affected"},{"type":"git","introduced":"b6d6454fdb66f3829af8b92ab06825b6060fdf7e","fixed":"0baf9d43a7b7b43df2900bd8656e75b725028b6e","status":"affected"},{"type":"git","introduced":"b6d6454fdb66f3829af8b92ab06825b6060fdf7e","fixed":"a3e340d506c1036a747fb0972aebf1063f7ef30e","status":"affected"},{"type":"git","introduced":"b6d6454fdb66f3829af8b92ab06825b6060fdf7e","fixed":"760a1029692f1d788dc11aa636a3bf432e58b240","status":"affected"},{"type":"git","introduced":"b6d6454fdb66f3829af8b92ab06825b6060fdf7e","fixed":"16a42c88c4667fa0bd944e438a667e059551f1f1","status":"affected"},{"type":"git","introduced":"b6d6454fdb66f3829af8b92ab06825b6060fdf7e","fixed":"2ff8156fd500d54c61430b6834137fd0a07047ce","status":"affected"},{"type":"git","introduced":"b6d6454fdb66f3829af8b92ab06825b6060fdf7e","fixed":"8c2f0b42fc252e1bf1c7746447091a468e784ca1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.21","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.21","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.40","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.5","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/bbb1ecaed4ed7680e63d3a0f143f03de32de5d6e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e2dac91380a10e9e8d5883fb73ce9d9b390a629c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0baf9d43a7b7b43df2900bd8656e75b725028b6e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a3e340d506c1036a747fb0972aebf1063f7ef30e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/760a1029692f1d788dc11aa636a3bf432e58b240","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16a42c88c4667fa0bd944e438a667e059551f1f1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2ff8156fd500d54c61430b6834137fd0a07047ce","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c2f0b42fc252e1bf1c7746447091a468e784ca1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:53:18.473Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-72240","url":"https://www.cve.org/CVERecord?id=CVE-2026-72240","licence":"CVE Terms of Use","modified":"2026-11-06T16:55:23.525Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-72240","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72240","licence":"Public domain","modified":"2026-11-06T17:19:40.943Z"}],"updatedAt":"2026-11-25T22:59:33.055Z","epss":{"score":0.00217,"percentile":0.12934,"date":"2026-12-01T12:00:22.000Z"}}