accel/amdxdna: Fix potential NULL pointer dereference in context cleanup
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.57, 6.19.4
- CVEs
- CVE-2025-71308
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 02:53 UTC · Revision 1
Source evidence
accel/amdxdna: Fix potential NULL pointer dereference in context cleanup
core-osv · Original sourcePublished 27 May 2026, 12:15 UTC
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.
osv:CVE-2025-71308
Kernel
Fixed versions: 6.18.57, 6.19.4
Complete source record
{
"id": "415a18a2e16c7c9e96ff8ce30997a3ea88dda0e0ab902c365342acba75a9e00f",
"url": "https://osv.dev/vulnerability/CVE-2025-71308",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "accel/amdxdna: Fix potential NULL pointer dereference in context cleanup",
"summary": "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.",
"evidence": "osv:CVE-2025-71308",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.57",
"evidence": "/affected/1/ranges"
},
{
"value": "6.19.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-71308",
"aliases": [
"CVE-2025-71308"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "be462c97b7dfd24999babe39cce3de224ebe1f80"
},
{
"fixed": "b569ff8a1bc1bcd4fdc6fd334604a654f61237a1"
},
{
"fixed": "2611c9616cb52d3ed54a6095d72d18e645a6955a"
},
{
"fixed": "97f27573837ef96b4ba42af463cc800cab615c0e"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71308.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.14.0"
},
{
"fixed": "6.18.57"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "6.19.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71308.json"
}
}
],
"modified": "2026-10-28T02:30:53.289694938Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/2611c9616cb52d3ed54a6095d72d18e645a6955a",
"https://git.kernel.org/stable/c/97f27573837ef96b4ba42af463cc800cab615c0e",
"https://git.kernel.org/stable/c/b569ff8a1bc1bcd4fdc6fd334604a654f61237a1",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71308.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-71308",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71308.json"
}
},
"related_cves": [
{
"value": "CVE-2025-71308",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 521978,
"published_at": "2026-05-27T12:15:02.207+00:00"
}