# CVE-2026-45868: pinctrl: single: fix refcount leak in pcs\_add\_gpio\_func()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-05-27T12:15:48.311Z
- **Modified:** 2026-06-25T21:06:34.607Z

## Who should check

- Anyone running Linux \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 191bfd5710d6a7f48ba4315d8d3e908dcc15243c; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 456a60d06c09a92680dc35fabca68024badcc28e; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 99cc7352156c65201c675f750e0e77c4c73d93f5; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 7814b1431848854b56717086e2b61bea3c59753d; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 5b9e84d27e310f22c4ba45fedbc4f5baf43dd823; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 353353309b0f7afa407df29e455f9d15b5acc296
- Anyone running Linux 3.10

## Description

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.

## Affected and fixed versions

- Linux: \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 191bfd5710d6a7f48ba4315d8d3e908dcc15243c; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 456a60d06c09a92680dc35fabca68024badcc28e; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 99cc7352156c65201c675f750e0e77c4c73d93f5; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 7814b1431848854b56717086e2b61bea3c59753d; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 5b9e84d27e310f22c4ba45fedbc4f5baf43dd823; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 353353309b0f7afa407df29e455f9d15b5acc296 (cvelist)
- Linux: 3.10 (cvelist)

## Mitigation

- Upgrade Linux to 353353309b0f7afa407df29e455f9d15b5acc296 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-45868. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45868.md
Affected: Linux >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 191bfd5710d6a7f48ba4315d8d3e908dcc15243c; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 456a60d06c09a92680dc35fabca68024badcc28e; >= a1a277eb76b3507df7c4177…
Fixed in: Linux 191bfd5710d6a7f48ba4315d8d3e908dcc15243c, Linux 3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b, Linux 456a60d06c09a92680dc35fabca68024badcc28e, Linux 99cc7352156c65201c675f750e0e77c4c73d93f5, Linux 7814b1431848854b56717086e2b61bea3c59753d, Linux 5b9e84d27e310f22c4ba45fedbc4f5baf43dd823, Linux 35335…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-45868 being exploited?

There is no confirmed exploitation: CVE-2026-45868 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-45868?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-45868?

Linux \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 191bfd5710d6a7f48ba4315d8d3e908dcc15243c; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 456a60d06c09a92680dc35fabca68024badcc28e; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 99cc7352156c65201c675f750e0e77c4c73d93f5; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 7814b1431848854b56717086e2b61bea3c59753d; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 5b9e84d27e310f22c4ba45fedbc4f5baf43dd823; \>= a1a277eb76b3507df7c41774048a644aa4dfd096, \< 353353309b0f7afa407df29e455f9d15b5acc296; Linux 3.10.

### Is there a fix for CVE-2026-45868?

Yes. Fixed in Linux 191bfd5710d6a7f48ba4315d8d3e908dcc15243c, Linux 3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b, Linux 456a60d06c09a92680dc35fabca68024badcc28e, Linux 99cc7352156c65201c675f750e0e77c4c73d93f5, Linux 7814b1431848854b56717086e2b61bea3c59753d, Linux 5b9e84d27e310f22c4ba45fedbc4f5baf43dd823, Linux 353353309b0f7afa407df29e455f9d15b5acc296. Upgrade Linux to 353353309b0f7afa407df29e455f9d15b5acc296 or later.

### How do I check if I'm affected by CVE-2026-45868?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/191bfd5710d6a7f48ba4315d8d3e908dcc15243c>
- patch: <https://git.kernel.org/stable/c/3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b>
- patch: <https://git.kernel.org/stable/c/456a60d06c09a92680dc35fabca68024badcc28e>
- patch: <https://git.kernel.org/stable/c/99cc7352156c65201c675f750e0e77c4c73d93f5>
- patch: <https://git.kernel.org/stable/c/7814b1431848854b56717086e2b61bea3c59753d>
- patch: <https://git.kernel.org/stable/c/e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4>
- patch: <https://git.kernel.org/stable/c/5b9e84d27e310f22c4ba45fedbc4f5baf43dd823>
- patch: <https://git.kernel.org/stable/c/353353309b0f7afa407df29e455f9d15b5acc296>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45868>

HTML: <https://flawdb.com/CVE-2026-45868> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45868>
