CVE-2026-99527

Source
https://cve.org/CVERecord?id=CVE-2026-99527
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99527.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99527
Downstream
Published
2026-11-19T14:44:39Z
Modified
2026-11-19T17:01:26Z
Summary
spmi: Fix potential use-after-free by grabbing of_node reference
Details

In the Linux kernel, the following vulnerability has been resolved:

spmi: Fix potential use-after-free by grabbing of_node reference

As noticed by Sashiko during a review run of an unrelated patch, in of_spmi_register_devices(), for_each_available_child_of_node() is used to loop through children, and to also assign a node to a newly created SPMI child device.

Problem is that the refcount is dropped at every iteration so, in the specific case of DT overlays, a use-after-free may occur when an overlay is dynamically unloaded!

To resolve this, increase the of_node refcount when assigning (in function of_spmi_register_devices) and release the reference in spmi_device_remove().

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99527.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bc32bbd0401170853b479645002df52f849f48fe
Fixed
b5e5d035abd1b49ecc9c85320fd6dfcc57ef9c79
Fixed
5653608781a660485d5e9be48a1d06025c4b97cf
Fixed
f7aa9de4f2b197cdd704cdc476901b68ee128433

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99527.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99527.json"