CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel, specifically in the handling of device tree nodes during legacy bus protection regmap lookups. An improper reference management can lead to dereferencing a freed device node, potentially resulting in a denial of service or system instability. Organizations using affected Linux kernel versions should prioritize this issue to mitigate risks associated with system crashes or unexpected behavior.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: pmdomain: mediatek: fix remaining %pOF after of_node_put() scpsys_get_bus_protection_legacy() looks up several legacy bus protection regmaps from device-tree nodes. Two error paths put the device node before checking whether the regmap lookup failed, but still pass that node to dev_err_probe() with %pOF on failure. If of_node_put() drops the last reference, the later %pOF formatting can dereference a freed device node. Keep the node reference until after the error message has been emitted in the infracfg and SMI lookup paths. Also drop the SMI node before returning when the SMI phandle is missing.