accel/amdxdna: Prevent ubuf size overflow
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.176.19.77.0In the Linux kernel, the following vulnerability has been resolved:
accel/amdxdna: Prevent ubuf size overflow
The ubuf size calculation may overflow, resulting in an undersized allocation and possible memory corruption.
Use check_add_overflow() helpers to validate the size calculation before allocation.
From the CVE record · Linux
The Linux kernel's accel/amdxdna driver may overflow when calculating a ubuf size, leading to an undersized allocation and possible memory corruption. This can occur when the size calculation overflows; the input does not specify an attack path, authentication requirements, or user interaction.
Engineers running Linux kernels with the accel/amdxdna driver should check whether their kernel includes the fix; affected versions are not specified.