staging: vt6655: fix potential memory leak
Published Dec 24, 2025
7.8
HIGHCVSS 3.1
EPSS 0.22%
Description
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.
Affected products
-
Affected
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
- ≥ , <
-
Affected
- 4.18
Unaffected
- ≥ 0, < 4.18
- ≥ 4.19.262, ≤ 4.19.*
- ≥ 5.10.150, ≤ 5.10.*
- ≥ 5.15.75, ≤ 5.15.*
- ≥ 5.19.17, ≤ 5.19.*
- ≥ 5.4.220, ≤ 5.4.*
- ≥ 6.0.3, ≤ 6.0.*
- 6.1
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
No data.
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (13)
- https://access.redhat.com/security/cve/CVE-2022-50758 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2425154 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-55803 Advisory
- https://git.kernel.org/stable/c/16a45e78a687eb6c69acc4e62b94b6508b0bfbda
- https://git.kernel.org/stable/c/1b3cebeca99e8e0aa4fa57faac8dbf41e967317a
- https://git.kernel.org/stable/c/c8ff91535880d41b49699b3829fb6151942de29e
- https://git.kernel.org/stable/c/cfdf139258614ef65b0f68b857ada5328fb7c0e5
- https://git.kernel.org/stable/c/e741e38aa98704fbb959650ecd270b71b2670680
- https://git.kernel.org/stable/c/fb5f569bcda8f87bd47d8030bfae343d757fa3ea
- https://git.kernel.org/stable/c/ff8551d411f12b5abc5ca929ab87643afa8a9588
- https://lore.kernel.org/linux-cve-announce/2025122454-CVE-2022-50758-800b@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-50758
- https://www.cve.org/CVERecord?id=CVE-2022-50758
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
No data
GitHub
No data