Kernel Kit / Infix / v26.10.0latest
CVE-2026-99527
—unknownlinux6.18.60 · 6.18.54 · 6.18.8in 3 of 4 releases
Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.
Reach linux · 6 builds in 3 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
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().
Published 2026-11-19NVD
No review for this build.
Members of Kernel Kit decide. Sign in if you are one.