Skip to main content
Network Thinking Solutions Logo

CVE-2026-45868

Linux kernel: pinctrl: single: fix refcount leak in pcs_add_gpio_func()

All CVEs
CVE-2026-45868Published 5/27/2026

Linux kernel: pinctrl: single: fix refcount leak in pcs_add_gpio_func()

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: pinctrl: single: fix refcount leak in pcs_add_gpio_func() of_parse_phandle_with_args() returns a device_node pointer with refcount incremented in gpiospec.np. The loop iterates through all phandles but never releases the reference, causing a refcount leak on each iteration. Add of_node_put() calls to release the reference after extracting the needed arguments and on the error path when devm_kzalloc() fails. This bug was detected by our static analysis tool and verified by my code review.

Published
5/27/2026
Last modified
6/25/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.10, < 5.10.252

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.202

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.165

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.128

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.75

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.18.14

Verify advisory

Source
linux kernel
linux
≥ 6.19, < 6.19.4

Verify advisory

Source
Linux
Linux
≥ a1a277eb76b3507df7c41774048a644aa4dfd096, < 191bfd5710d6a7f48ba4315d8d3e908dcc15243c

Verify advisory

Source
Linux
Linux
≥ a1a277eb76b3507df7c41774048a644aa4dfd096, < 3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b

Verify advisory

Source
Linux
Linux
≥ a1a277eb76b3507df7c41774048a644aa4dfd096, < 456a60d06c09a92680dc35fabca68024badcc28e

Verify advisory

Source
Linux
Linux
≥ a1a277eb76b3507df7c41774048a644aa4dfd096, < 99cc7352156c65201c675f750e0e77c4c73d93f5

Verify advisory

Source
Linux
Linux
≥ a1a277eb76b3507df7c41774048a644aa4dfd096, < 7814b1431848854b56717086e2b61bea3c59753d

Verify advisory

Source
Linux
Linux
≥ a1a277eb76b3507df7c41774048a644aa4dfd096, < e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4

Verify advisory

Source
Linux
Linux
≥ a1a277eb76b3507df7c41774048a644aa4dfd096, < 5b9e84d27e310f22c4ba45fedbc4f5baf43dd823

Verify advisory

Source
Linux
Linux
≥ a1a277eb76b3507df7c41774048a644aa4dfd096, < 353353309b0f7afa407df29e455f9d15b5acc296

Verify advisory

Source
Linux
Linux
3.10

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.