media: venus: hfi: add a check to handle OOB in sfr region
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d96d3f30c0f2f564f6922bf4ccdf4464992e31fb · < 530f623f56a6680792499a8404083e17f8ec51f4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: venus: hfi: add a check to handle OOB in sfr region
sfr->buf_size is in shared memory and can be modified by malicious user. OOB write is possible when the size is made higher than actual sfr data buffer. Cap the size to allocated size for such cases.
From the CVE record · Linux
The Linux kernel's Venus HFI code trusts an SFR buffer size stored in shared memory. A malicious user who can modify that value can make it larger than the allocated buffer, causing an out-of-bounds write. The report does not specify authentication or additional interaction requirements.
Teams running the Linux kernel should check whether their version contains the affected Venus HFI code; affected versions are not specified.