CVE-2022-50758

Source
https://cve.org/CVERecord?id=CVE-2022-50758
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50758.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50758
Downstream
Related
Published
2025-12-24T13:05:51.159Z
Modified
2026-03-20T12:22:37.796343Z
Summary
staging: vt6655: fix potential memory leak
Details

In the Linux kernel, the following vulnerability has been resolved:

staging: vt6655: fix potential memory leak

In function deviceinittd0ring, memory is allocated for member tdinfo 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50758.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5341ee0adb17d12a96dc5344e0d267cd12b52135
Fixed
e741e38aa98704fbb959650ecd270b71b2670680
Fixed
16a45e78a687eb6c69acc4e62b94b6508b0bfbda
Fixed
1b3cebeca99e8e0aa4fa57faac8dbf41e967317a
Fixed
ff8551d411f12b5abc5ca929ab87643afa8a9588
Fixed
fb5f569bcda8f87bd47d8030bfae343d757fa3ea
Fixed
cfdf139258614ef65b0f68b857ada5328fb7c0e5
Fixed
c8ff91535880d41b49699b3829fb6151942de29e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50758.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.18.0
Fixed
4.19.262
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.220
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.150
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.75
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.19.17
Type
ECOSYSTEM
Events
Introduced
5.20.0
Fixed
6.0.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50758.json"