{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99527","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.420Z","datePublished":"2026-11-19T14:44:39.046Z","dateUpdated":"2026-11-19T14:44:39.046Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-19T14:44:39.046Z"},"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":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spmi/spmi.c"],"versions":[{"version":"bc32bbd0401170853b479645002df52f849f48fe","lessThan":"b5e5d035abd1b49ecc9c85320fd6dfcc57ef9c79","status":"affected","versionType":"git"},{"version":"bc32bbd0401170853b479645002df52f849f48fe","lessThan":"5653608781a660485d5e9be48a1d06025c4b97cf","status":"affected","versionType":"git"},{"version":"bc32bbd0401170853b479645002df52f849f48fe","lessThan":"f7aa9de4f2b197cdd704cdc476901b68ee128433","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spmi/spmi.c"],"versions":[{"version":"6.14","status":"affected"},{"version":"0","lessThan":"6.14","status":"unaffected","versionType":"semver"},{"version":"6.18.61","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/b5e5d035abd1b49ecc9c85320fd6dfcc57ef9c79"},{"url":"https://git.kernel.org/stable/c/5653608781a660485d5e9be48a1d06025c4b97cf"},{"url":"https://git.kernel.org/stable/c/f7aa9de4f2b197cdd704cdc476901b68ee128433"}],"title":"spmi: Fix potential use-after-free by grabbing of_node reference","x_generator":{"engine":"bippy-1.2.0"}}}}