KernelScan.io

HIGH Introduced in 3.13

regulator as3722 DanglingPointer

CVE-2026-89504

CVSS 8.4 / 10.0 NVD

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

KernelScan AI7.5HIGH

01

In the Linux kernel, the following vulnerability has been resolved: regulator: as3722_get_regulator_dt_data: fix premature of_node_put leaving dangling of_node pointer In as3722_get_regulator_dt_data(), of_get_child_by_name() acquires a reference on np, which is then assigned to pdev->dev.of_node. The function immediately calls of_node_put(np), releasing the reference and leaving pdev->dev.of_node as a dangling pointer. Remove the of_node_put(np) call to let the device hold the reference.

02

Engine v0.6.0

Risk summary

A use-after-free vulnerability exists in the AS3722 regulator driver where a device tree node reference is prematurely released, leaving a dangling pointer that the device continues to use. This can lead to kernel instability or crashes when the regulator subsystem later accesses the stale pointer.

Affecteddrivers/regulator/as3722-regulator.c (regulator subsystem)

Vulnerability analysis

The AS3722 regulator driver acquires a reference to a device tree node and assigns it to the device structure, but immediately releases that reference, leaving the device holding a dangling pointer to potentially freed memory. When the regulator subsystem later accesses this pointer, it may dereference stale or recycled memory, causing a kernel crash or unpredictable behavior. The fix removes the premature reference release so the device properly retains ownership for its lifetime. This vulnerability is reachable during device probing on systems with the AS3722 PMIC, which is typically configured via device tree on embedded platforms; it requires no special privileges beyond the ability to trigger device probing.

03

BranchIntroducedFixed inPatch commit
5.153.135.15.221bd5606e9da1a
6.13.136.1.1880bde4f140e90
6.183.136.18.5095342d26f9c6
7.23.137.2.48648e29e5c01
mainline3.137.3-rc1f9324d670ae0
6.123.136.12.109d3c1316d84e0
5.103.135.10.270d9b1407477fb
6.63.136.6.157eda08b6bd64f
cip/6.123.136.12.111-cip32d3c1316d84e0