CVE-2025-68731
Unknown Unknown - Not Provided
Integer Overflow in Linux amdxdna Driver's aie2_query_ctx_status_array

Publication date: 2025-12-24

Last updated on: 2025-12-24

Assigner: kernel.org

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-24
Last Modified
2025-12-24
Generated
2026-05-07
AI Q&A
2025-12-24
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is an integer overflow in the Linux kernel's amdxdna accelerator driver, specifically in the function aie2_query_ctx_status_array(). The issue arises from a potential user-controlled overflow when calculating the size using 'num_element * element_size'. Although it may not cause a real issue, the fix adds limits to ensure element_size is at most 4K and num_element is at most 1K to prevent overflow.


How can this vulnerability impact me? :

The vulnerability could potentially allow incorrect memory size calculations due to integer overflow, which might lead to unexpected behavior or security risks such as memory corruption. However, the description notes that it may not cause a real issue but is mitigated by adding reasonable limits on input values.


What immediate steps should I take to mitigate this vulnerability?

Apply the patch or update to the fixed version of the Linux kernel that includes the fix for the integer overflow in aie2_query_ctx_status_array(). Ensure that input validation limits element_size to <= 4K and num_element to <= 1K as per the fix.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart