CVE-2025-68731: accel/amdxdna: Fix an integer overflow in aie2_query_ctx_status_array()

Published Dec 24, 2025
·
Updated

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

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

The unpublished smatch static checker reported a warning.

drivers/accel/amdxdna/aie2pci.c:904 aie2queryctxstatusarray() warn: potential user controlled sizeof overflow 'args->numelement args->elementsize' '1-u32max(user) 1-u32max(user)'

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

Affected Software

1 affected component
linux_kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In aie2_query_ctx_status_array(), validate user-controlled inputs so that element_size is no greater than 4K and num_element is no greater than 1K before calculating the allocation size.

Event History

Dec 24, 2025
CVE Published
via MITRE·10:33 AM
Data Sourced
via MITRE·10:33 AM
Description
Data Sourced
via NVD·11:16 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2025-68731?

The severity of CVE-2025-68731 is not explicitly rated, but it involves an integer overflow which could lead to potential vulnerabilities.

2

How do I fix CVE-2025-68731?

To fix CVE-2025-68731, update to the latest version of the Linux kernel that includes the patch for this vulnerability.

3

What are the potential impacts of CVE-2025-68731?

The potential impacts of CVE-2025-68731 may include system instability or exploitation that could lead to unauthorized access.

4

In which component is CVE-2025-68731 found?

CVE-2025-68731 is found in the accel/amdxdna component of the Linux kernel.

5

Who reported CVE-2025-68731?

CVE-2025-68731 was reported by the unpublished smatch static checker.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203