CVE-2025-71308

Source
https://cve.org/CVERecord?id=CVE-2025-71308
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71308.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-71308
Downstream
Published
2026-05-27T12:15:02.207Z
Modified
2026-07-08T08:12:44.267258277Z
Summary
accel/amdxdna: Fix potential NULL pointer dereference in context cleanup
Details

In the Linux kernel, the following vulnerability has been resolved:

accel/amdxdna: Fix potential NULL pointer dereference in context cleanup

aiedestroycontext() is invoked during error handling in aie2createcontext(). However, aiedestroycontext() assumes that the context's mailbox channel pointer is non-NULL. If mailbox channel creation fails, the pointer remains NULL and calling aiedestroycontext() can lead to a NULL pointer dereference.

In aie2createcontext(), replace aiedestroycontext() with a function which request firmware to remove the context created previously.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71308.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
be462c97b7dfd24999babe39cce3de224ebe1f80
Fixed
2611c9616cb52d3ed54a6095d72d18e645a6955a
Fixed
97f27573837ef96b4ba42af463cc800cab615c0e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71308.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.19.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71308.json"