KernelScan.io

HIGH Introduced in 6.18

exynos-pmu InterruptGenerator UAF

CVE-2026-98415

CVSS 7.8 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

01

In the Linux kernel, the following vulnerability has been resolved: soc: samsung: exynos-pmu: fix use-after-free of interrupt generator node The setup_cpuhp_and_cpuidle() parses the device tree node for the interrupt generation block via of_parse_phandle() and decrements its reference count using of_node_put() immediately after fetching the resource address. However, later the intr_gen_node pointer is passed into of_syscon_register_regmap(). Fix this by declaring intr_gen_node with __free() and removing of_node_put().

02

Engine v0.9.0

Risk summary

A use-after-free in the Exynos PMU driver allows a local attacker with root privileges to achieve arbitrary kernel code execution by triggering CPU hotplug or idle operations on affected Samsung Exynos platforms (gs101 and derivatives). The bug is reachable only on devices using this specific SoC driver with a device tree that specifies the interrupt generator syscon.

Affecteddrivers/soc/samsung/exynos-pmu.c (soc: samsung: exynos-pmu)

Vulnerability analysis

The setup_cpuhp_and_cpuidle() function parses a device tree phandle to obtain a reference to the interrupt generator node, then immediately releases that reference with of_node_put() after extracting the register address. However, the same node pointer is later passed to of_syscon_register_regmap(), which expects a valid reference. This creates a use-after-free: the device node structure can be freed and reallocated before the syscon registration uses it, leading to memory corruption. The fix changes the variable to use the __free(device_node) cleanup attribute, which automatically calls of_node_put() when the function exits, ensuring the reference remains valid for the entire duration of the function. This vulnerability is only reachable on Samsung Exynos platforms (gs101/Exynos 2100 and derivatives) that use this PMU driver with a device tree specifying the 'google,pmu-intr-gen-syscon' property, and requires the ability to trigger CPU hotplug or cpuidle operations — typically root privileges or a compromised privileged service.

03

BranchIntroducedFixed inPatch commit
6.186.186.18.544450102d6aa2
7.26.187.2.8164313e24cb0
mainline6.187.34dd1999783d7