{"id":"CVE-2026-99527","published":"2026-11-19T14:44:39Z","modified":"2026-11-19T14:44:39Z","title":"spmi: Fix potential use-after-free by grabbing of_node reference","vendor":"Linux","product":"Linux","tier":"tail","description":{"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().","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00166,"percentile":0.06028,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b5e5d035abd1b49ecc9c85320fd6dfcc57ef9c79","tags":[]},{"url":"https://git.kernel.org/stable/c/5653608781a660485d5e9be48a1d06025c4b97cf","tags":[]},{"url":"https://git.kernel.org/stable/c/f7aa9de4f2b197cdd704cdc476901b68ee128433","tags":[]}],"priority":{"score":1.2,"factors":[{"name":"EPSS percentile","points":1.21}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= bc32bbd0401170853b479645002df52f849f48fe, < b5e5d035abd1b49ecc9c85320fd6dfcc57ef9c79",">= bc32bbd0401170853b479645002df52f849f48fe, < 5653608781a660485d5e9be48a1d06025c4b97cf",">= bc32bbd0401170853b479645002df52f849f48fe, < f7aa9de4f2b197cdd704cdc476901b68ee128433"]},{"vendor":"Linux","product":"Linux","versions":["6.14"]}],"euvd":{"id":"EUVD-2026-130249","exploited":false,"provenance":"source"}}