pmdomain: mediatek: fix remaining %pOF after of_node_put()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 10bf2d7261d7f724ed43a09eea4c90c19c0230a0, Kernel 3e013bc8b941bd52c8e3a99798d0ae8792cb71ca and Kernel 970b9c83a07c405fdd32bcce7cc4c9e670e58875.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.18, >=c29345fa5f66bea0790cf2219f57b974d4fc177b <10bf2d7261d7f724ed43a09eea4c90c19c0230a0, >=c29345fa5f66bea0790cf2219f57b974d4fc177b <3e013bc8b941bd52c8e3a99798d0ae8792cb71ca, >=c29345fa5f66bea0790cf2219f57b974d4fc177b <970b9c83a07c405fdd32bcce7cc4c9e670e58875 | 10bf2d7261d7f724ed43a09eea4c90c19c0230a0, 3e013bc8b941bd52c8e3a99798d0ae8792cb71ca, 970b9c83a07c405fdd32bcce7cc4c9e670e58875 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket