CVE-2025-68731
Linux Ubuntu vulnerability analysis and mitigation

Overview

CVE-2025-68731 is an integer overflow vulnerability in the Linux kernel's AMD XDNA accelerator driver, specifically in the aie2_query_ctx_status_array() function located in drivers/accel/amdxdna/aie2_pci.c. The flaw arises from user-controlled multiplication of args->num_element * args->element_size, both of which can reach u32max, potentially causing a sizeof overflow. It was disclosed on December 24, 2025, and affects Linux kernel versions up to 6.18 (patched in 6.18.2 and 6.19-rc1). Feedly estimates the severity as HIGH, though no official CVSS score has been published at this time (Red Hat CVE, Red Hat Bugzilla).

Technical details

The root cause is an integer overflow (CWE-190) in the aie2_query_ctx_status_array() function of the AMD XDNA accelerator driver. When computing the buffer size using args->num_element * args->element_size, both values are user-supplied 32-bit unsigned integers that can each reach u32max, causing the product to overflow and potentially result in an undersized memory allocation. The vulnerability was identified by the smatch static analysis tool, which flagged the expression as a potential user-controlled sizeof overflow. The fix adds input validation to cap element_size at 4KB and num_element at 1K, preventing the overflow condition (Red Hat Bugzilla, Red Hat CVE).

Impact

Successful exploitation could allow a local attacker with access to the AMD XDNA accelerator device to trigger unexpected kernel behavior, potentially leading to memory corruption or system instability. While the original kernel commit notes that the overflow may not cause a real issue in practice, the user-controlled nature of the overflow parameters represents a theoretical vector for buffer overflows or heap corruption in kernel space. The impact is limited to systems equipped with AMD XDNA accelerator hardware (e.g., systems with AMD NPU/AI accelerators) and requires local access to the affected device (Red Hat Bugzilla).

Mitigation and workarounds

The Linux kernel has been patched in versions 6.18.2 and 6.19-rc1, with fixes available via commits 359653edd537 (stable) and 9e16c8bf9aeb (mainline). Users should update to a patched kernel version as the primary remediation. As a workaround, restricting unprivileged local user access to AMD XDNA accelerator devices can reduce exposure until a kernel update is applied (Red Hat CVE, Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Linux Ubuntu vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-50737CRITICAL9
  • Linux Debian logoLinux Debian
  • pglogical
NoNoJul 28, 2026
CVE-2026-50736CRITICAL9
  • Linux Debian logoLinux Debian
  • pglogical
NoNoJul 28, 2026
CVE-2026-50738HIGH7.7
  • Linux Debian logoLinux Debian
  • pglogical
NoNoJul 28, 2026
CVE-2026-61547NONEN/A
  • Linux Debian logoLinux Debian
  • librabbitmq
NoYesJul 29, 2026
CVE-2026-59986NONEN/A
  • Linux Debian logoLinux Debian
  • librabbitmq
NoYesJul 29, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management