# CVE-2026-23314: regulator: bq257xx: Fix device node reference leak in bq257xx_reg_dt_parse_gpio()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-03-25T10:27:09.383Z
- Modified: 2026-06-17T10:21:18.717Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 981dd162b63578aee34b5c68795e246734b76d70 before 93b64bef8cd4074806d981ed1b4c38c3ae0542e3; from 981dd162b63578aee34b5c68795e246734b76d70 before aba54a5a113667df9d339f4192650f6bc27e9d1f; from 981dd162b63578aee34b5c68795e246734b76d70 before 4baaddaa44af01cd4ce239493060738fd0881835; 6.18 (not affected: before 6.18; from 6.18.17 up to 6.18.*; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.18.1 before 6.18.17; from 6.19 before 6.19.7; 6.18; 7.0

## References

- <https://git.kernel.org/stable/c/93b64bef8cd4074806d981ed1b4c38c3ae0542e3> (patch)
- <https://git.kernel.org/stable/c/aba54a5a113667df9d339f4192650f6bc27e9d1f> (patch)
- <https://git.kernel.org/stable/c/4baaddaa44af01cd4ce239493060738fd0881835> (patch)

## Sources

- CVE List: [CVE-2026-23314](https://www.cve.org/CVERecord?id=CVE-2026-23314), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-23314](https://nvd.nist.gov/vuln/detail/CVE-2026-23314), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23314 · Whole record: https://cve.day/CVE-2026-23314.json · Rebuilt by cve.day 2026-11-25T22:59:16.666Z
