---
id: CVE-2025-71308
title: |-
  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()
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_…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.14, < 6.19.4'
patched:
  - linux_kernel 6.19.4
published: '2026-05-27'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T13:10:00.187'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71308'
references:
  - url: 'https://git.kernel.org/stable/c/2611c9616cb52d3ed54a6095d72d18e645a6955a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/97f27573837ef96b4ba42af463cc800cab615c0e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00138
epssPercentile: 0.02779
ingestedAt: '2026-10-14T13:30:58.505Z'
---

## Overview

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.

## Affected

- `linux_kernel >= 6.14, < 6.19.4`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.19.4`
