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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-12-24 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2022-50758, DEBIAN-CVE-2022-50758
- Record: https://cvemate.com/vulnerability/CVE-2022-50758 · JSON: https://cvemate.com/vulnerability/CVE-2022-50758/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.236%, percentile 15.495%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 119)

- debian linux (Debian): \< 6.0.3-1
- ubuntu linux (Ubuntu): \< 5.4.0-139.156 \| \< 5.15.0-60.66
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1096.104 \| \< 5.15.0-1030.34
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1030.34~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1096.104~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1096.104+fips1 \| All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1103.109 \| \< 5.15.0-1033.40
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1033.40~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## 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>
- <https://ubuntu.com/security/CVE-2022-50758>
- <https://www.cve.org/CVERecord?id=CVE-2022-50758>
- <https://security-tracker.debian.org/tracker/CVE-2022-50758>

---

Data as of 2026-12-06T04:48:37.147Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
