Description
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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 590577a4e5257ac3ed72999a94666ad6ba8f24bc, < 56d27b9fca840c68f67706e3cc5f2000c17bce39; >= 590577a4e5257ac3ed72999a94666ad6ba8f24bc, < 5c217253c76c94f76d1df31d0bbdcb88dc07be91; >= 590577a4e5257ac3ed72999a94666ad6ba8f24bc, < 303d01082edaf817ee2df53a40dca9da637a2c04; >= 590577a4e5257ac3ed72999a94666ad6ba8f24bc, < eb005c801ec70ff4307727bd3bd6e8280169ef32 |
| Linux | Linux | 4.10 |
References
- https://git.kernel.org/stable/c/303d01082edaf817ee2df53a40dca9da637a2c04Patch
- https://git.kernel.org/stable/c/56d27b9fca840c68f67706e3cc5f2000c17bce39
- https://git.kernel.org/stable/c/5c217253c76c94f76d1df31d0bbdcb88dc07be91Patch
- https://git.kernel.org/stable/c/eb005c801ec70ff4307727bd3bd6e8280169ef32Patch
- https://git.kernel.org/stable/c/303d01082edaf817ee2df53a40dca9da637a2c04Patch
- https://git.kernel.org/stable/c/5c217253c76c94f76d1df31d0bbdcb88dc07be91Patch
- https://git.kernel.org/stable/c/eb005c801ec70ff4307727bd3bd6e8280169ef32Patch
Timeline
- Published
- Jul 30, 2024
- Last modified
- Oct 30, 2026
- NVD status
- Modified