Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2025-71308

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-71308

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "be462c97b7dfd24999babe39cce3de224ebe1f80",
        "lessThan": "b569ff8a1bc1bcd4fdc6fd334604a654f61237a1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "be462c97b7dfd24999babe39cce3de224ebe1f80",
        "lessThan": "2611c9616cb52d3ed54a6095d72d18e645a6955a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "be462c97b7dfd24999babe39cce3de224ebe1f80",
        "lessThan": "97f27573837ef96b4ba42af463cc800cab615c0e",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/accel/amdxdna/aie2_message.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.14"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.14",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.18.57",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "6.19.4",
        "versionType": "semver",
        "lessThanOrEqual": "6.19.*"
      },
      {
        "status": "unaffected",
        "version": "7.0",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/accel/amdxdna/aie2_message.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-71308

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#28593 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement