CVE-2026-45868
pinctrl: single: fix refcount leak in pcs_add_gpio_func()
Mitigation
- Upgrade Linux to 353353309b0f7afa407df29e455f9d15b5acc296 or later.
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
Vulnerability facts
- Affected
- Linux >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 191bfd5710d6a7f48ba4315d8d3e908dcc15243c; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 456a60d06c09a92680dc35fabca68024badcc28e; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 99cc7352156c65201c675f750e0e77c4c73d93f5; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 7814b1431848854b56717086e2b61bea3c59753d; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 5b9e84d27e310f22c4ba45fedbc4f5baf43dd823; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 353353309b0f7afa407df29e455f9d15b5acc296; Linux 3.10
- Fixed in
- Linux 191bfd5710d6a7f48ba4315d8d3e908dcc15243c, Linux 3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b, Linux 456a60d06c09a92680dc35fabca68024badcc28e, Linux 99cc7352156c65201c675f750e0e77c4c73d93f5, Linux 7814b1431848854b56717086e2b61bea3c59753d, Linux 5b9e84d27e310f22c4ba45fedbc4f5baf43dd823, Linux 353353309b0f7afa407df29e455f9d15b5acc296
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 191bfd5710d6a7f48ba4315d8d3e908dcc15243c; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 456a60d06c09a92680dc35fabca68024badcc28e; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 99cc7352156c65201c675f750e0e77c4c73d93f5; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 7814b1431848854b56717086e2b61bea3c59753d; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 5b9e84d27e310f22c4ba45fedbc4f5baf43dd823; >= a1a277eb76b3507df7c41774048a644aa4dfd096, < 353353309b0f7afa407df29e455f9d15b5acc296 | — | cvelist |
| Linux | 3.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- https://git.kernel.org/stable/c/191bfd5710d6a7f48ba4315d8d3e908dcc15243c
- https://git.kernel.org/stable/c/3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b
- https://git.kernel.org/stable/c/456a60d06c09a92680dc35fabca68024badcc28e
- https://git.kernel.org/stable/c/99cc7352156c65201c675f750e0e77c4c73d93f5
- https://git.kernel.org/stable/c/7814b1431848854b56717086e2b61bea3c59753d
- https://git.kernel.org/stable/c/e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4
- https://git.kernel.org/stable/c/5b9e84d27e310f22c4ba45fedbc4f5baf43dd823
- https://git.kernel.org/stable/c/353353309b0f7afa407df29e455f9d15b5acc296
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.