In the Linux kernel, the following vulnerability has been resolved: media: mediatek: vcodec: Only free buffer VA that is not NULL In the MediaTek vcodec driver, while mtk_vcodec_mem_free() is mostly called only when the buffer to free exists, there are some instances that didn't do the check and triggered warnings in practice. We believe those checks were forgotten unintentionally. Add the checks back to fix the warnings.
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | 1.3.6 |
| Linux | Linux | n/a |
| Linux | Linux | 10 Version 1703 for x64-based Systems |
| Linux | Linux | 10 Version 1803 for ARM64-based Systems |