Shellfeed logo Shellfeed

CVE-2026-89504 · HIGH (CVSS 8.4)

Summary: regulator: as3722_get_regulator_dt_data: fix premature of_node_put leaving dangling of_node pointer

Details

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.

Severity

HIGH (CVSS 8.4) — vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [bc407334e9a6a745de5360395282beb2690adf48 – d9b1407477fb736978b04108073180ca84958936]
  • Linux Kernel [3.13.0 – 5.10.270] [5.11.0 – 5.15.221] [5.16.0 – 6.1.188] [6.2.0 – 6.6.157] [6.7.0 – 6.12.109] [6.13.0 – 6.18.50] [6.19.0 – 7.2.4]

References