{"id":"CVE-2026-46308","summary":"pmdomain: mediatek: fix use-after-free in scpsys_get_bus_protection_legacy()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npmdomain: mediatek: fix use-after-free in scpsys_get_bus_protection_legacy()\n\nIn scpsys_get_bus_protection_legacy(), of_find_node_with_property()\nreturns a device node with its reference count incremented. The function\nthen calls of_node_put(node) before checking whether\nsyscon_regmap_lookup_by_phandle() returns an error. If an error occurs,\ndev_err_probe() dereferences the node pointer to print diagnostic\ninformation, but the node memory may have already been freed due to the\nearlier of_node_put(), leading to a use-after-free vulnerability.\n\nFix this by moving the of_node_put() call after the error check, ensuring\nthe node is still valid when accessed in the error path.","modified":"2026-07-10T03:54:06.123775135Z","published":"2026-06-08T15:46:36.218Z","related":["openSUSE-SU-2026:11014-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46308.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/38d8410021b55d226847b2ac8d189d89fe5a8866"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb27e43c0511e9e1ca8818d231656070b11c18cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ec1fcddb3117d9452210e838fd37389ee61e10e8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46308.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46308"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c29345fa5f66bea0790cf2219f57b974d4fc177b"},{"fixed":"cb27e43c0511e9e1ca8818d231656070b11c18cf"},{"fixed":"38d8410021b55d226847b2ac8d189d89fe5a8866"},{"fixed":"ec1fcddb3117d9452210e838fd37389ee61e10e8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46308.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.30"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46308.json"}}],"schema_version":"1.7.5"}