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

regulator: bq257xx: Fix device node reference leak in bq257xx_reg_dt_parse_gpio()

In bq257xx_reg_dt_parse_gpio(), if fails to get subchild, it returns
without calling of_node_put(child), causing the device node reference
leak.
Published: 2026-03-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Reference Leak Leading to Resource Exhaustion
Action: Apply Patch
AI Analysis

Impact

A bug in the Linux kernel regulator driver for the bq257xx series introduces a reference‑counting error when parsing device‑tree GPIO nodes. In bq257xx_reg_dt_parse_gpio(), an early return caused by a missing subchild omits a call to of_node_put(child), leaking an object reference. The resulting leak accumulates with repeated device‑tree scans and is classified under CWE‑772. While the CVSS score of 5.5 indicates moderate severity, the flaw could, over time, exhaust kernel memory and lead to a denial‑of‑service condition.

Affected Systems

The vulnerability is present in any Linux kernel that includes the bq257xx regulator source without the patch that restores proper of_node_put handling. According to the CPE data, affected versions include 6.18 and all 7.0 release candidates up to rc7. Any distribution or embedded platform that builds the kernel from those sources without applying the commit is at risk.

Risk and Exploitability

The EPSS score of less than 1% and the absence of a CISA KEV listing suggest a low probability of widespread exploitation. However, exploitation would require an attacker to trigger the vulnerable code path, which likely necessitates local or privileged access to modify firmware or supply a crafted device tree entry. Because the description does not detail an attack vector, it is inferred that local attacker controls are needed to realize the resource‑exhaustion impact.

Generated by OpenCVE AI on April 29, 2026 at 00:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel that includes commit 4baaddaa44af01, which restores proper of_node_put handling in bq257xx_reg_dt_parse_gpio().
  • If an upgrade is not immediately possible, remove or disable the bq257xx regulator entry from the device tree to prevent the vulnerable function from executing.
  • Apply kernel hardening by enabling CONFIG_DEBUG_KERNEL or using static analysis tools to enforce correct reference counting, following CWE‑772 best practices.

Generated by OpenCVE AI on April 29, 2026 at 00:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Apr 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-Other
CPEs cpe:2.3:o:linux:linux_kernel:6.18:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Thu, 26 Mar 2026 00:15:00 +0000


Wed, 25 Mar 2026 10:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: regulator: bq257xx: Fix device node reference leak in bq257xx_reg_dt_parse_gpio() In bq257xx_reg_dt_parse_gpio(), if fails to get subchild, it returns without calling of_node_put(child), causing the device node reference leak.
Title regulator: bq257xx: Fix device node reference leak in bq257xx_reg_dt_parse_gpio()
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-05-11T22:04:29.413Z

Reserved: 2026-01-13T15:37:45.994Z

Link: CVE-2026-23314

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-03-25T11:16:27.767

Modified: 2026-04-23T21:06:50.930

Link: CVE-2026-23314

cve-icon Redhat

Severity :

Publid Date: 2026-03-25T00:00:00Z

Links: CVE-2026-23314 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-29T01:00:11Z

Weaknesses