CVE-2022-48661
publishedgpio: mockup: Fix potential resource leakage when register a chip
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6fda593f3082ef1aa783ac13e89f673fd69a2cb6 to < 9b26723e058faaf11b532fb4aa16d6849d581790 · 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 to < 41f857033c44442a27f591fda8d986e7c9e42872 · 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 to < 02743c4091ccfb246f5cdbbe3f44b152d5d12933 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.71 through 5.15.* (unaffected · semver) · 5.19.12 through 5.19.* (unaffected · semver) · 6.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: gpio: mockup: Fix potential resource leakage when register a chip If creation of software node fails, the locally allocated string array is left unfreed. Free it on error path.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6fda593f3082ef1aa783ac13e89f673fd69a2cb6 to < 9b26723e058faaf11b532fb4aa16d6849d581790 (affected · git)6fda593f3082ef1aa783ac13e89f673fd69a2cb6 to < 41f857033c44442a27f591fda8d986e7c9e42872 (affected · git)6fda593f3082ef1aa783ac13e89f673fd69a2cb6 to < 02743c4091ccfb246f5cdbbe3f44b152d5d12933 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.71 through 5.15.* (unaffected · semver)5.19.12 through 5.19.* (unaffected · semver)6.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
gpio: mockup: Fix potential resource leakage when register a chip
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1edfecc864f1eaed7af9241ed54cc7689108e292394b2a4adda8cad9120b43d8
- Ingested
- 23 Sep 2026, 08:03:53 UTC
- Source record
- Official CVE record