Bug 2424897 (CVE-2025-68731) - CVE-2025-68731 kernel: accel/amdxdna: Fix an integer overflow in aie2_query_ctx_status_array()
Summary: CVE-2025-68731 kernel: accel/amdxdna: Fix an integer overflow in aie2_query_c...
Keywords:
Status: NEW
Alias: CVE-2025-68731
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-24 11:04 UTC by OSIDB Bzimport
Modified: 2025-12-24 11:59 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 11:04:37 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.