{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50355","id":"CVE-2022-50355","title":"staging: vt6655: fix some erroneous memory clean-up loops","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: vt6655: fix some erroneous memory clean-up loops\n\nIn some initialization functions of this driver, memory is allocated with\n'i' acting as an index variable and increasing from 0. The commit in\n\"Fixes\" introduces some clean-up codes in case of allocation failure,\nwhich free memory in reverse order with 'i' decreasing to 0","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: vt6655: fix some erroneous memory clean-up loops\n\nIn some initialization functions of this driver, memory is allocated with\n'i' acting as an index variable and increasing from 0. The commit in\n\"Fixes\" introduces some clean-up codes in case of allocation failure,\nwhich free memory in reverse order with 'i' decreasing to 0. However,\nthere are some problems:\n  - The case i=0 is left out. Thus memory is leaked.\n  - In case memory allocation fails right from the start, the memory\n    freeing loops will start with i=-1 and invalid memory locations will\n    be accessed.\n\nOne of these loops has been fixed in commit c8ff91535880 (\"staging:\nvt6655: fix potential memory leak\"). Fix the remaining erroneous loops.","published":"2025-09-17T14:56:08.356Z","updated":"2026-10-28T02:30:44.326921986Z","reserved":"2025-09-17T14:53:06.993Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5341ee0adb17d12a96dc5344e0d267cd12b52135","lessThan":"637672a71f5016a40b0a6c0f3c8ad25eacedc8c3","status":"affected","versionType":"git"},{"version":"5341ee0adb17d12a96dc5344e0d267cd12b52135","lessThan":"88b9cc60f26e8a05d1ddbddf91b09ca2915f20e0","status":"affected","versionType":"git"},{"version":"5341ee0adb17d12a96dc5344e0d267cd12b52135","lessThan":"95ac62e8545be2b0a8cae0beef7c682e2e470e48","status":"affected","versionType":"git"},{"version":"5341ee0adb17d12a96dc5344e0d267cd12b52135","lessThan":"f19e5b7df54590c831f350381963f25585c8f7d5","status":"affected","versionType":"git"},{"version":"5341ee0adb17d12a96dc5344e0d267cd12b52135","lessThan":"a9e9806d1c315bc50dce05479a079b9a104474b8","status":"affected","versionType":"git"},{"version":"5341ee0adb17d12a96dc5344e0d267cd12b52135","lessThan":"ed11b73c963292e7b49c0f37025c58ed3b7921d6","status":"affected","versionType":"git"},{"version":"5341ee0adb17d12a96dc5344e0d267cd12b52135","lessThan":"2a2db520e3ca5aafba7c211abfd397666c9b5f9d","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","lessThan":"4.18","status":"unaffected","versionType":"semver"},{"version":"4.19.262","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.220","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.150","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.75","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.19.17","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0.3","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/637672a71f5016a40b0a6c0f3c8ad25eacedc8c3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/88b9cc60f26e8a05d1ddbddf91b09ca2915f20e0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/95ac62e8545be2b0a8cae0beef7c682e2e470e48","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f19e5b7df54590c831f350381963f25585c8f7d5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a9e9806d1c315bc50dce05479a079b9a104474b8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ed11b73c963292e7b49c0f37025c58ed3b7921d6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2a2db520e3ca5aafba7c211abfd397666c9b5f9d","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50355.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50355","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00229,"epssPercentile":0.13764,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50355","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50355","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50355","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50355","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}