CVE-2025-68731
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
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| 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.