CVE-2026-99527
spmi: Fix potential use-after-free by grabbing of_node reference
Check your servers for CVE-2026-99527
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99527 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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().
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.19% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from bc32bbd0401170853b479645002df52f849f48fe, before b5e5d035abd1b49ecc9c85320fd6dfcc57ef9c79 affected from bc32bbd0401170853b479645002df52f849f48fe, before 5653608781a660485d5e9be48a1d06025c4b97cf affected from bc32bbd0401170853b479645002df52f849f48fe, before f7aa9de4f2b197cdd704cdc476901b68ee128433
Other versions: unaffected
|
| Linux |
affected 6.14 unaffected before 6.14 unaffected from 6.18.61 up to and including 6.18.* unaffected from 7.3.2 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99527 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99527
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99527
trivy image --scanners vuln IMAGE | grep CVE-2026-99527
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b5e5d035abd1b49ecc9c85320fd6dfcc57ef9c79 git.kernel.org
- https://git.kernel.org/stable/c/5653608781a660485d5e9be48a1d06025c4b97cf git.kernel.org
- https://git.kernel.org/stable/c/f7aa9de4f2b197cdd704cdc476901b68ee128433 git.kernel.org
Source: the record CVE-2026-99527 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse