CVE-2026-23218
publishedgpio: loongson-64bit: Fix incorrect NULL check after devm_kcalloc()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux03c146cb6cd14fdab2d2c7ab1b4e8035b54df8cc to < e71e3fa90a15134113f61343392e887cd1f4bf7c · 03c146cb6cd14fdab2d2c7ab1b4e8035b54df8cc to < e34f77b09080c86c929153e2a72da26b4f8947ff · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.10 through 6.18.* (unaffected · semver) · 6.19 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: loongson-64bit: Fix incorrect NULL check after devm_kcalloc() Fix incorrect NULL check in loongson_gpio_init_irqchip(). The function checks chip->parent instead of chip->irq.parents.
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 | 03c146cb6cd14fdab2d2c7ab1b4e8035b54df8cc to < e71e3fa90a15134113f61343392e887cd1f4bf7c (affected · git)03c146cb6cd14fdab2d2c7ab1b4e8035b54df8cc to < e34f77b09080c86c929153e2a72da26b4f8947ff (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.10 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
gpio: loongson-64bit: Fix incorrect NULL check after devm_kcalloc()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 62686003235719c7a12da723dcc9633408442700f5db9fcc6a989dfb88c26798
- Ingested
- 23 Sep 2026, 09:05:46 UTC
- Source record
- Official CVE record