media: venus: hfi_parser: refactor hfi packet parsing logic
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1a73374a04e555103e5369429a30999114001dda · < a736c72d476d1c7ca7be5018f2614ee61168ad01| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: venus: hfi_parser: refactor hfi packet parsing logic
words_count denotes the number of words in total payload, while data points to payload of various property within it. When words_count reaches last word, data can access memory beyond the total payload. This can lead to OOB access. With this patch, the utility api for handling individual properties now returns the size of data consumed. Accordingly remaining bytes are calculated before parsing the payload, thereby eliminates the OOB access possibilities.
From the CVE record · Linux
The Linux kernel’s Venus HFI packet parser can access memory beyond a packet’s payload when parsing its last word. This can cause an out-of-bounds access; the input does not specify an attacker action, access requirements, or user interaction.
Engineers running Linux kernels with the Venus HFI parser should check their kernel’s status; affected versions are not specified.