CVE-2026-80750: pmdomain: mediatek: fix remaining %pOF after of_node_put()
In the Linux kernel, the following vulnerability has been resolved:
pmdomain: mediatek: fix remaining %pOF after ofnodeput()
scpsysgetbusprotectionlegacy() 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 deverrprobe() with %pOF on failure. If ofnodeput() 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.
Affected Software
Event History
Frequently Asked Questions
When can this issue be triggered?
It is triggered on error paths in scpsys_get_bus_protection_legacy() when legacy bus-protection regmap lookup fails for either the infracfg or SMI device-tree node. The unsafe access occurs while formatting that node with %pOF for dev_err_probe() after its reference has been released.
What systems are relevant to triage?
The affected code is in the Linux kernel MediaTek power-domain implementation and specifically concerns legacy bus-protection device-tree lookups. Systems not using this code path are not indicated by the provided information to be affected.
Is there a mitigation if the kernel update cannot be deployed immediately?
No workaround or configuration mitigation is provided. The described fix retains the device-node reference until error reporting is complete and releases the SMI node when its phandle is missing.