{"id":"CVE-2026-99527","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-19T15:18:08.410","lastModified":"2026-11-19T15:18:08.410","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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()."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/spmi/spmi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"bc32bbd0401170853b479645002df52f849f48fe","lessThan":"b5e5d035abd1b49ecc9c85320fd6dfcc57ef9c79","versionType":"git","status":"affected"},{"version":"bc32bbd0401170853b479645002df52f849f48fe","lessThan":"5653608781a660485d5e9be48a1d06025c4b97cf","versionType":"git","status":"affected"},{"version":"bc32bbd0401170853b479645002df52f849f48fe","lessThan":"f7aa9de4f2b197cdd704cdc476901b68ee128433","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/spmi/spmi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.14","status":"affected"},{"version":"0","lessThan":"6.14","versionType":"semver","status":"unaffected"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/5653608781a660485d5e9be48a1d06025c4b97cf","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b5e5d035abd1b49ecc9c85320fd6dfcc57ef9c79","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f7aa9de4f2b197cdd704cdc476901b68ee128433","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}