Description
In the Linux kernel, the following vulnerability has been resolved:

pmdomain: mediatek: fix use-after-free in scpsys_get_bus_protection_legacy()

In scpsys_get_bus_protection_legacy(), of_find_node_with_property()
returns a device node with its reference count incremented. The function
then calls of_node_put(node) before checking whether
syscon_regmap_lookup_by_phandle() returns an error. If an error occurs,
dev_err_probe() dereferences the node pointer to print diagnostic
information, but the node memory may have already been freed due to the
earlier of_node_put(), leading to a use-after-free vulnerability.

Fix this by moving the of_node_put() call after the error check, ensuring
the node is still valid when accessed in the error path.
Published: 2026-06-08
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s Mediatek SCPSYS driver contained a use‑after‑free bug in the scpsys_get_bus_protection_legacy() function. The driver obtains a device node via of_find_node_with_property(), then incorrectly releases the node before checking an error return from syscon_regmap_lookup_by_phandle(). When an error occurs, dev_err_probe() dereferences the node pointer to log diagnostic information, but the node memory may have already been freed, thus enabling a use‑after‑free. This flaw (CWE‑826) could allow memory corruption or arbitrary code execution if exploited.

Affected Systems

Vulnerable kernels are those that still include the legacy Mediatek SCPSYS driver code before the fix was merged. Any Linux distribution shipping an unpatched kernel that contains the affected code path is at risk. No specific version numbers are listed, so all kernels prior to the patch commit should be treated as vulnerable.

Risk and Exploitability

The CVSS score is not publicly disclosed, and the EPSS metric is unavailable. The vulnerability is not yet listed in the CISA KEV catalog. Based on the description, it is inferred that the attack requires the ability to influence device tree data, which typically implies local or privileged access. If an attacker can inject a crafted device‑tree node or load a malicious driver that triggers the error path, the use‑after‑free could lead to kernel memory corruption, a denial of service, or privilege escalation. Consequently, the risk is considered high for affected systems, particularly those with root or privileged customers that can tamper with device tree nodes.

Generated by OpenCVE AI on June 9, 2026 at 02:07 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that contains the scpsys_get_bus_protection_legacy() fix, as released by the distribution maintainers or directly from upstream.
  • Reboot the system to ensure the updated kernel is loaded.
  • If an immediate kernel update cannot be performed, disable the Mediatek SCPSYS driver or restrict access to device tree nodes used by the driver, thereby mitigating the use‑after‑free.

Generated by OpenCVE AI on June 9, 2026 at 02:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 09 Jun 2026 00:15:00 +0000


Mon, 08 Jun 2026 17:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: pmdomain: mediatek: fix use-after-free in scpsys_get_bus_protection_legacy() In scpsys_get_bus_protection_legacy(), of_find_node_with_property() returns a device node with its reference count incremented. The function then calls of_node_put(node) before checking whether syscon_regmap_lookup_by_phandle() returns an error. If an error occurs, dev_err_probe() dereferences the node pointer to print diagnostic information, but the node memory may have already been freed due to the earlier of_node_put(), leading to a use-after-free vulnerability. Fix this by moving the of_node_put() call after the error check, ensuring the node is still valid when accessed in the error path.
Title pmdomain: mediatek: fix use-after-free in scpsys_get_bus_protection_legacy()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-08T15:46:36.218Z

Reserved: 2026-05-13T15:03:33.111Z

Link: CVE-2026-46308

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-08T17:16:49.707

Modified: 2026-06-08T17:16:49.707

Link: CVE-2026-46308

cve-icon Redhat

Severity :

Publid Date: 2026-06-08T00:00:00Z

Links: CVE-2026-46308 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-09T02:15:07Z

Weaknesses