accel/ivpu: Add buffer overflow check in MS get_info_ioctl
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/ivpu: Add buffer overflow check in MS get_info_ioctl
Add validation that the info size returned from the metric stream info query is not exceeded when checked against the allocated buffer size. If the firmware returns a size larger than the buffer, reject the operation with -EOVERFLOW instead of proceeding with an incorrect buffer copy.
From the CVE record · Linux
The Linux kernel’s accel/ivpu metric stream get_info_ioctl does not check whether the size returned by firmware exceeds the allocated buffer. If firmware returns an oversized value, the kernel can proceed with an incorrect buffer copy, potentially causing a buffer overflow. The input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with the accel/ivpu component should check their installations; affected versions are not specified.