---
id: CVE-2025-68731
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  accel/amdxdna: Fix an integer overflow in aie2_query_ctx_status_array()

  The unpublished smatch static checker reported a warning.

  drivers/accel/amdxdna/aie2_pci.c:904…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  accel/amdxdna: Fix an integer overflow in aie2_query_ctx_status_array()

  The unpublished smatch static checker reported a warning.

  drivers/accel/amdxdna/aie2_pci.c:904…
severity: none
published: '2025-12-24'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T11:10:00.203'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68731'
references:
  - url: 'https://git.kernel.org/stable/c/359653edd5374fbba28f93043554dcc494aee85f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9e16c8bf9aebf629344cfd4cd5e3dc7d8c3f7d82'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.0018
epssPercentile: 0.07017
ingestedAt: '2026-10-13T11:23:51.159Z'
---

## Overview

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

accel/amdxdna: Fix an integer overflow in aie2_query_ctx_status_array()

The unpublished smatch static checker reported a warning.

drivers/accel/amdxdna/aie2_pci.c:904 aie2_query_ctx_status_array()
warn: potential user controlled sizeof overflow
'args->num_element * args->element_size' '1-u32max(user) * 1-u32max(user)'

Even this will not cause a real issue, it is better to put a reasonable
limitation for element_size and num_element. Add condition to make sure
the input element_size <= 4K and num_element <= 1K.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
