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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
c29345fa5f66bea0790cf2219f57b974d4fc177b to < 970b9c83a07c405fdd32bcce7cc4c9e670e58875affectedc29345fa5f66bea0790cf2219f57b974d4fc177b to < 10bf2d7261d7f724ed43a09eea4c90c19c0230a0affectedc29345fa5f66bea0790cf2219f57b974d4fc177b to < 3e013bc8b941bd52c8e3a99798d0ae8792cb71caaffected
Linux Linux
Default version status: affected
6.18affected0 to < 6.18unaffected6.18.46 to ≤ 6.18.*unaffected7.1.10 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected