media: venus: Add a check for packet size after reading from shared memory
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d96d3f30c0f2f564f6922bf4ccdf4464992e31fb · < 2d8cea8310a245730816a1fd0c9fa4a5a3bdc68c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: venus: Add a check for packet size after reading from shared memory
Add a check to ensure that the packet size does not exceed the number of available words after reading the packet header from shared memory. This ensures that the size provided by the firmware is safe to process and prevent potential out-of-bounds memory access.
From the CVE record · Linux
The Linux kernel Venus media driver did not check whether a packet size read from shared memory exceeded the available words. A firmware-provided oversized packet could cause an out-of-bounds memory access. The input does not specify an attack path, authentication requirements, or user interaction.
Anyone running the Linux kernel with the Venus media driver should check their installation; affected versions are not specified.