CVE-2026-45868
📛 CVE Title
pinctrl: single: fix refcount leak in pcs_add_gpio_func()
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.
Overview
- State
- PUBLISHED
- Assigner (CNA)
- Linux
- CVSS severity
- high
- CVSS score
- 8.4 / 10
- CVSS vector
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Effective score
- 8.4 / 10 HIGH source: CNA overview
- CWE(s)
- —
- Reserved
- 2026-05-13
- Published
- 2026-05-27 12:15 UTC
- Last updated
- 2026-05-27 12:15 UTC
- Source
- https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/45xxx/CVE-2026-45868.json
- Linked Threat
- CVE-2026-45868 — CVE-2026-45868
NVD triage scoring NVD CVE 2.0
Layer NVD adds on top of the CNA's CVE record — published / last-modified timestamps, exploitability / impact subscores, and the FIRST.org EPSS probability that this CVE will be exploited in the wild in the next 30 days.
- NVD published
- 2026-05-27 14:17:00 UTC
- NVD last modified
- 2026-06-25 21:06:34 UTC
- NVD CVSS v3.1
- 5.5 / 10 MEDIUM source: nvd@nist.gov
- NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H- Exploitability subscore
- 1.8 / 10
- Impact subscore
- 3.6 / 10
- EPSS score
- 0.0016 (probability of exploitation in next 30 days)
- EPSS percentile
- 5.17% vs all CVEs — higher = more likely to be exploited, as of 2026-07-26
NVD / KEV / EPSS data refreshed 2026-07-27 10:56 UTC. Re-run the 🛰 Backfill from NVD button above to refresh.
European Union Vulnerability Database ENISA EUVD
ENISA's official EU repository for curated vulnerability intelligence. Carries a separate identifier (EUVD-YYYY-NNNN) and frequently exposes an earlier-published description + CVSS than NVD does.
- EUVD ID
-
EUVD-2026-32334 - Assigner
- Linux
- Published
- May 27, 2026, 12:15:48 PM
- Updated
- May 27, 2026, 12:15:48 PM
- EUVD base score
- 0.0 / 10
- EUVD-reported EPSS
- 0.1600
- Vendors
- Linux
- Products
-
Linux (a1a277eb76b3507df7c41774048a644aa4dfd096 <e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4)Linux (patch: 5.15.202)Linux (patch: 0)Linux (a1a277eb76b3507df7c41774048a644aa4dfd096 <99cc7352156c65201c675f750e0e77c4c73d93f5)Linux (patch: 6.12.75)Linux (patch: 6.6.128)Linux (a1a277eb76b3507df7c41774048a644aa4dfd096 <353353309b0f7afa407df29e455f9d15b5acc296)Linux (a1a277eb76b3507df7c41774048a644aa4dfd096 <7814b1431848854b56717086e2b61bea3c59753d)Linux (patch: 7.0)Linux (a1a277eb76b3507df7c41774048a644aa4dfd096 <5b9e84d27e310f22c4ba45fedbc4f5baf43dd823)Linux (patch: 6.18.14)Linux (a1a277eb76b3507df7c41774048a644aa4dfd096 <191bfd5710d6a7f48ba4315d8d3e908dcc15243c)Linux (3.10)Linux (patch: 6.19.4)Linux (a1a277eb76b3507df7c41774048a644aa4dfd096 <3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b)Linux (patch: 5.10.252)Linux (a1a277eb76b3507df7c41774048a644aa4dfd096 <456a60d06c09a92680dc35fabca68024badcc28e)Linux (patch: 6.1.165)
- Aliases
-
GHSA-m8c9-pvw4-86cp
ENISA 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.
EUVD references (8)
- 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
Affected products (2)
| Vendor | Product | Versions | Platforms |
|---|---|---|---|
| Linux | Linux |
a1a277eb76b3507df7c41774048a644aa4dfd096 (affected),
a1a277eb76b3507df7c41774048a644aa4dfd096 (affected),
a1a277eb76b3507df7c41774048a644aa4dfd096 (affected),
a1a277eb76b3507df7c41774048a644aa4dfd096 (affected),
a1a277eb76b3507df7c41774048a644aa4dfd096 (affected),
a1a277eb76b3507df7c41774048a644aa4dfd096 (affected),
a1a277eb76b3507df7c41774048a644aa4dfd096 (affected),
a1a277eb76b3507df7c41774048a644aa4dfd096 (affected)
|
— |
| Linux | Linux |
3.10 (affected),
0 (unaffected),
5.10.252 (unaffected),
5.15.202 (unaffected),
6.1.165 (unaffected),
6.6.128 (unaffected),
6.12.75 (unaffected),
6.18.14 (unaffected),
6.19.4 (unaffected),
7.0 (unaffected)
|
— |
Affected products — CPE 2.3 (1) NVD
NVD's normalized CPE 2.3 matchers, used by vendor tools (vulnerability scanners, asset managers) for automated detection. Compare with the CNA's free-text "Affected products" section above.
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendor references (8)
References embedded in the original CVE record by the assigning CNA.
- 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
Web references (11)
DuckDuckGo results ranked by threat-intel / vendor advisory domains. Generated by the 🔎 Find references (web) button above — same flow as the Remediations search.
- https://git.kernel.org/stable/c/191bfd5710d6a7f48ba4315d8d3e908dcc15243c tenable:git.kernel.org
- https://git.kernel.org/stable/c/353353309b0f7afa407df29e455f9d15b5acc296 tenable:git.kernel.org
- https://git.kernel.org/stable/c/3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b tenable:git.kernel.org
- https://git.kernel.org/stable/c/456a60d06c09a92680dc35fabca68024badcc28e tenable:git.kernel.org
- https://git.kernel.org/stable/c/5b9e84d27e310f22c4ba45fedbc4f5baf43dd823 tenable:git.kernel.org
- https://git.kernel.org/stable/c/7814b1431848854b56717086e2b61bea3c59753d tenable:git.kernel.org
- https://git.kernel.org/stable/c/99cc7352156c65201c675f750e0e77c4c73d93f5 tenable:git.kernel.org
- https://git.kernel.org/stable/c/e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4 tenable:git.kernel.org
- https://nvd.nist.gov/vuln/detail/CVE-2026-45868 tenable:nvd.nist.gov
- https://www.cve.org/CVERecord?id=CVE-2026-45868 tenable:www.cve.org
- https://www.first.org/epss/ tenable:www.first.org
NVD-tagged references (8)
Reference list NVD curates from the CNA record, vendor advisories, and third-party reports. The tag chips below are NVD's analyst-assigned categories.
- https://git.kernel.org/stable/c/191bfd5710d6a7f48ba4315d8d3e908dcc15243c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
- https://git.kernel.org/stable/c/353353309b0f7afa407df29e455f9d15b5acc296 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
- https://git.kernel.org/stable/c/3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
- https://git.kernel.org/stable/c/456a60d06c09a92680dc35fabca68024badcc28e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
- https://git.kernel.org/stable/c/5b9e84d27e310f22c4ba45fedbc4f5baf43dd823 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
- https://git.kernel.org/stable/c/7814b1431848854b56717086e2b61bea3c59753d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
- https://git.kernel.org/stable/c/99cc7352156c65201c675f750e0e77c4c73d93f5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
- https://git.kernel.org/stable/c/e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch
Remediations (16)
Remediations are stored against the linked Threat row; the list below is deduplicated across both pages.
-
web:blog.qualys.com
May 2026's Patch Tuesday arrives with Microsoft addressing a fresh set of vulnerabilities across its ecosystem, reinforcing the ongoing need for timely patching in an increasingly threat-heavy…
2026-06-04 00:16 UTC -
web:cybersecuritynews.com
Microsoft's May 2026 Patch Tuesday lands with a heavy enterprise focus, fixing 120 vulnerabilities across Windows, Office, Azure, developer tools, and Microsoft 365 apps, including 29 remote code execution (RCE) flaws rated Critical.
2026-06-04 00:16 UTC -
web:portal.msrc.microsoft.com
The Security Update Guide provides information on the latest Microsoft security updates, helping users understand and address potential vulnerabilities effectively.
2026-06-04 00:16 UTC -
web:www.bleepingcomputer.com
On Monday, CISA added CVE - 2026 -35616 to its Known Exploited Vulnerabilities (KEV) Catalog and ordered Federal Civilian Executive Branch (FCEB) agencies to patch FortiClient EMS instances by ...
2026-06-04 00:16 UTC -
web:www.cisa.gov
Fortinet Releases Guidance to Address Ongoing Exploitation of Authentication Bypass Vulnerability CVE - 2026 -24858
2026-06-04 00:16 UTC -
web:www.crowdstrike.com
Microsoft's April 2026 Patch Tuesday addresses 164 CVEs , featuring 8 Critical vulnerabilities, one exploited zero-day, and one disclosed zero-day.
2026-06-04 00:16 UTC -
web:www.csoonline.com
Oracle has released the first security fixes in its new monthly Critical Security Patch Update (CSPU) cycle, designed to address urgent vulnerabilities that can't wait for the company's ...
2026-06-04 00:16 UTC -
web:www.oracle.com
This Critical Patch Update contains 481 new security patches across the product families listed below. Please note that an MOS note summarizing the content of this Critical Patch Update and other Oracle Software Security Assurance activities is located at April 2026 Critical Patch Update: Executive Summary and Analysis.
2026-06-04 00:16 UTC -
web:www.virustotal.com
VirusTotal is a platform for scanning files and URLs for viruses, malware, and other threats using multiple antivirus engines.
2026-06-04 00:16 UTC -
web:zecurit.com
Get the complete breakdown of Microsoft's June 2026 Patch Tuesday. We analyze the latest security updates and all critical CVEs .
2026-06-04 00:16 UTC -
web:cybersecuritynews.com
Microsoft has officially acknowledged a critical zero-day vulnerability in Microsoft Defender, publicly dubbed "RoguePlanet," and confirmed it is actively developing a security patch to address the flaw.
2026-06-19 02:27 UTC -
web:nvd.nist.gov
Official websites use .gov A .gov website belongs to an official government organization in the United States.
2026-06-19 02:27 UTC -
web:support.microsoft.com
Improvements This update includes new features and quality improvements that were part of the following update: May 12, 2026—KB5089549 (OS Builds 26200.8457 and 26100.8457) May 26, 2026—KB5089573 (OS Builds 26200.8524 and 26100.8524) This update addresses security vulnerabilities documented in the following guide: June 2026 Security Updates. The following summary outlines key quality ...
2026-06-19 02:27 UTC -
web:tech.yahoo.com
Microsoft has confirmed an emergency security update as CISA warns that two new Defender zero-days are being exploited by attackers.
2026-06-19 02:27 UTC -
web:www.computerworld.com
Microsoft says it is considering a patch for a zero-day vulnerability, dubbed YellowKey, that allows attackers with access to a Windows device to bypass Bitlocker encryption protection and read ...
2026-06-19 02:27 UTC -
web:www.malwarebytes.com
Microsoft says it's working on a fix for an unpatched Defender vulnerability that can give attackers the highest level of access on Windows.
2026-06-19 02:27 UTC
AI Forensic Analysis
Only Available for Registered Users. Sign in to view.
Raw JSON
The full cvelistV5 record. Download as CVE-2026-45868.json.
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/pinctrl/pinctrl-single.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "191bfd5710d6a7f48ba4315d8d3e908dcc15243c",
"status": "affected",
"version": "a1a277eb76b3507df7c41774048a644aa4dfd096",
"versionType": "git"
},
{
"lessThan": "3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b",
"status": "affected",
"version": "a1a277eb76b3507df7c41774048a644aa4dfd096",
"versionType": "git"
},
{
"lessThan": "456a60d06c09a92680dc35fabca68024badcc28e",
"status": "affected",
"version": "a1a277eb76b3507df7c41774048a644aa4dfd096",
"versionType": "git"
},
{
"lessThan": "99cc7352156c65201c675f750e0e77c4c73d93f5",
"status": "affected",
"version": "a1a277eb76b3507df7c41774048a644aa4dfd096",
"versionType": "git"
},
{
"lessThan": "7814b1431848854b56717086e2b61bea3c59753d",
"status": "affected",
"version": "a1a277eb76b3507df7c41774048a644aa4dfd096",
"versionType": "git"
},
{
"lessThan": "e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4",
"status": "affected",
"version": "a1a277eb76b3507df7c41774048a644aa4dfd096",
"versionType": "git"
},
{
"lessThan": "5b9e84d27e310f22c4ba45fedbc4f5baf43dd823",
"status": "affected",
"version": "a1a277eb76b3507df7c41774048a644aa4dfd096",
"versionType": "git"
},
{
"lessThan": "353353309b0f7afa407df29e455f9d15b5acc296",
"status": "affected",
"version": "a1a277eb76b3507df7c41774048a644aa4dfd096",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/pinctrl/pinctrl-single.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "3.10"
},
{
"lessThan": "3.10",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.252",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.202",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.165",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.128",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.75",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.14",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.19.*",
"status": "unaffected",
"version": "6.19.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.252",
"versionStartIncluding": "3.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.202",
"versionStartIncluding": "3.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.165",
"versionStartIncluding": "3.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.128",
"versionStartIncluding": "3.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.75",
"versionStartIncluding": "3.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.14",
"versionStartIncluding": "3.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.19.4",
"versionStartIncluding": "3.10",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.0",
"versionStartIncluding": "3.10",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: single: fix refcount leak in pcs_add_gpio_func()\n\nof_parse_phandle_with_args() returns a device_node pointer with refcount\nincremented in gpiospec.np. The loop iterates through all phandles but\nnever releases the reference, causing a refcount leak on each iteration.\n\nAdd of_node_put() calls to release the reference after extracting the\nneeded arguments and on the error path when devm_kzalloc() fails.\n\nThis bug was detected by our static analysis tool and verified by my\ncode review."
}
],
"providerMetadata": {
"dateUpdated": "2026-05-27T12:15:48.311Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/191bfd5710d6a7f48ba4315d8d3e908dcc15243c"
},
{
"url": "https://git.kernel.org/stable/c/3e3b28bb0b6ddc521a4fdd1c1ba0d35017a0796b"
},
{
"url": "https://git.kernel.org/stable/c/456a60d06c09a92680dc35fabca68024badcc28e"
},
{
"url": "https://git.kernel.org/stable/c/99cc7352156c65201c675f750e0e77c4c73d93f5"
},
{
"url": "https://git.kernel.org/stable/c/7814b1431848854b56717086e2b61bea3c59753d"
},
{
"url": "https://git.kernel.org/stable/c/e2e367e56bacb93ce5ac73f0b3297d5c83d38dd4"
},
{
"url": "https://git.kernel.org/stable/c/5b9e84d27e310f22c4ba45fedbc4f5baf43dd823"
},
{
"url": "https://git.kernel.org/stable/c/353353309b0f7afa407df29e455f9d15b5acc296"
}
],
"title": "pinctrl: single: fix refcount leak in pcs_add_gpio_func()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-45868",
"datePublished": "2026-05-27T12:15:48.311Z",
"dateReserved": "2026-05-13T15:03:33.080Z",
"dateUpdated": "2026-05-27T12:15:48.311Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}