accel/amdxdna: Adjust size for copy_to_user()
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
accel/amdxdna: Adjust size for copy_to_user()
The amount of data returned to user space should be limited by the buffer size provided by the application. If the buffer is smaller than the data size, return only the portion that fits instead of failing.
From the CVE record · Linux
The Linux kernel’s accel/amdxdna component mishandles data returned to user space when an application provides a buffer smaller than the data. Under that local condition, the operation can fail instead of returning the portion that fits; the input does not specify an authentication requirement or an attacker-controlled exploit.
Engineers running Linux kernels with the accel/amdxdna component should check their kernel version; affected versions were not provided.