{"id":"CVE-2026-99527","aliases":["CVE-2026-99527"],"related":[],"kind":"vulnerability","state":"published","title":"spmi: Fix potential use-after-free by grabbing of_node reference","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nspmi: Fix potential use-after-free by grabbing of_node reference\n\nAs noticed by Sashiko during a review run of an unrelated patch,\nin of_spmi_register_devices(), for_each_available_child_of_node()\nis used to loop through children, and to also assign a node to a\nnewly created SPMI child device.\n\nProblem is that the refcount is dropped at every iteration so, in\nthe specific case of DT overlays, a use-after-free may occur when\nan overlay is dynamically unloaded!\n\nTo resolve this, increase the of_node refcount when assigning (in\nfunction of_spmi_register_devices) and release the reference in\nspmi_device_remove().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspmi: Fix potential use-after-free by grabbing of_node reference\n\nAs noticed by Sashiko during a review run of an unrelated patch,\nin of_spmi_register_devices(), for_each_available_child_of_node()\nis used to loop through children, and to also assign a node to a\nnewly created SPMI child device.\n\nProblem is that the refcount is dropped at every iteration so, in\nthe specific case of DT overlays, a use-after-free may occur when\nan overlay is dynamically unloaded!\n\nTo resolve this, increase the of_node refcount when assigning (in\nfunction of_spmi_register_devices) and release the reference in\nspmi_device_remove().","source":"cvelist"}],"published":"2026-11-19T14:44:39.046Z","modified":"2026-11-19T15:18:08.410Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"bc32bbd0401170853b479645002df52f849f48fe","fixed":"b5e5d035abd1b49ecc9c85320fd6dfcc57ef9c79","status":"affected"},{"type":"git","introduced":"bc32bbd0401170853b479645002df52f849f48fe","fixed":"5653608781a660485d5e9be48a1d06025c4b97cf","status":"affected"},{"type":"git","introduced":"bc32bbd0401170853b479645002df52f849f48fe","fixed":"f7aa9de4f2b197cdd704cdc476901b68ee128433","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","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/b5e5d035abd1b49ecc9c85320fd6dfcc57ef9c79","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5653608781a660485d5e9be48a1d06025c4b97cf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f7aa9de4f2b197cdd704cdc476901b68ee128433","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99527","url":"https://www.cve.org/CVERecord?id=CVE-2026-99527","licence":"CVE Terms of Use","modified":"2026-11-19T14:44:39.046Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99527","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99527","licence":"Public domain","modified":"2026-11-19T15:18:08.410Z"}],"updatedAt":"2026-11-25T22:59:52.104Z","epss":{"score":0.00166,"percentile":0.06194,"date":"2026-12-01T12:00:22.000Z"}}