Incorrect Calculation of Buffer Size in Linux kernel - CVE-2026-31765

 

Incorrect Calculation of Buffer Size in Linux kernel - CVE-2026-31765

Published: May 2, 2026


Vulnerability identifier: #VU128932
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-31765
CWE-ID: CWE-131
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to improper resource size calculation in the amdgpu KFD GPU virtual memory allocation logic when initializing GPU virtual memory on 64K page-size systems. A local user can invoke the affected ioctl path to trigger a kernel crash.

The issue is triggered on systems using 64K pages because the allocated trap buffer size can exceed the reserved trap area size.


How to mitigate CVE-2026-31765

Install security update from vendor's repository.

Sources