CVE-2025-71308
publishedaccel/amdxdna: Fix potential NULL pointer dereference in context cleanup
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxbe462c97b7dfd24999babe39cce3de224ebe1f80 to < b569ff8a1bc1bcd4fdc6fd334604a654f61237a1 · be462c97b7dfd24999babe39cce3de224ebe1f80 to < 2611c9616cb52d3ed54a6095d72d18e645a6955a · be462c97b7dfd24999babe39cce3de224ebe1f80 to < 97f27573837ef96b4ba42af463cc800cab615c0e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.57 through 6.18.* (unaffected · semver) · 6.19.4 through 6.19.* (unaffected · semver) · 7.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: accel/amdxdna: Fix potential NULL pointer dereference in context cleanup aie_destroy_context() is invoked during error handling in aie2_create_context(). However, aie_destroy_context() assumes that the context's mailbox channel pointer is non-NULL. If mailbox channel creation fails, the pointer remains NULL and calling aie_destroy_context() can lead to a NULL pointer dereference. In aie2_create_context(), replace aie_destroy_context() with a function which request firmware to remove the context created previously.
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 | be462c97b7dfd24999babe39cce3de224ebe1f80 to < b569ff8a1bc1bcd4fdc6fd334604a654f61237a1 (affected · git)be462c97b7dfd24999babe39cce3de224ebe1f80 to < 2611c9616cb52d3ed54a6095d72d18e645a6955a (affected · git)be462c97b7dfd24999babe39cce3de224ebe1f80 to < 97f27573837ef96b4ba42af463cc800cab615c0e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.57 through 6.18.* (unaffected · semver)6.19.4 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
accel/amdxdna: Fix potential NULL pointer dereference in context cleanup
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ada2e8119ed2d0d50df000ad0386f5fb2e041012ac4352954e79206d0f35db28
- Ingested
- 15 Oct 2026, 13:12:09 UTC
- Source record
- Official CVE record