media: verisilicon: AV1: Fix tile info buffer size
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: verisilicon: AV1: Fix tile info buffer size
Each tile info is composed of: row_sb, col_sb, start_pos and end_pos (4 bytes each). So the total required memory is AV1_MAX_TILES * 16 bytes. Use the correct #define to allocate the buffer and avoid writing tile info in non-allocated memory.
From the CVE record · Linux
The Linux kernel’s verisilicon AV1 code allocates too little memory for tile information. Writing tile information can therefore write outside the allocated buffer. The input does not specify how an attacker could trigger this or whether access or user interaction is required.
Engineers running Linux kernels with the verisilicon AV1 code should check their versions; affected versions are not specified.