{"id":"CVE-2022-50355","aliases":["CVE-2022-50355"],"related":[],"kind":"vulnerability","state":"published","title":"staging: vt6655: fix some erroneous memory clean-up loops","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-09-17T14:56:08.356Z","modified":"2026-08-05T08:58:21.802Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135","fixed":"637672a71f5016a40b0a6c0f3c8ad25eacedc8c3","status":"affected"},{"type":"git","introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135","fixed":"88b9cc60f26e8a05d1ddbddf91b09ca2915f20e0","status":"affected"},{"type":"git","introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135","fixed":"95ac62e8545be2b0a8cae0beef7c682e2e470e48","status":"affected"},{"type":"git","introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135","fixed":"f19e5b7df54590c831f350381963f25585c8f7d5","status":"affected"},{"type":"git","introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135","fixed":"a9e9806d1c315bc50dce05479a079b9a104474b8","status":"affected"},{"type":"git","introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135","fixed":"ed11b73c963292e7b49c0f37025c58ed3b7921d6","status":"affected"},{"type":"git","introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135","fixed":"2a2db520e3ca5aafba7c211abfd397666c9b5f9d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.18","status":"unaffected"},{"type":"semver","introduced":"4.19.262","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.220","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.150","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.75","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.18","fixed":"4.19.262"},{"status":"affected","introduced":"4.20","fixed":"5.4.220"},{"status":"affected","introduced":"5.5","fixed":"5.10.150"},{"status":"affected","introduced":"5.11","fixed":"5.15.75"},{"status":"affected","introduced":"5.16","fixed":"5.19.17"},{"status":"affected","introduced":"6.0","fixed":"6.0.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/637672a71f5016a40b0a6c0f3c8ad25eacedc8c3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/88b9cc60f26e8a05d1ddbddf91b09ca2915f20e0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/95ac62e8545be2b0a8cae0beef7c682e2e470e48","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f19e5b7df54590c831f350381963f25585c8f7d5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a9e9806d1c315bc50dce05479a079b9a104474b8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ed11b73c963292e7b49c0f37025c58ed3b7921d6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a2db520e3ca5aafba7c211abfd397666c9b5f9d","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T18:31:51.758Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50355","url":"https://www.cve.org/CVERecord?id=CVE-2022-50355","licence":"CVE Terms of Use","modified":"2026-08-05T08:58:21.802Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50355","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50355","licence":"Public domain","modified":"2026-08-04T10:18:12.540Z"}],"updatedAt":"2026-11-25T22:58:21.178Z","epss":{"score":0.00229,"percentile":0.14581,"date":"2026-12-02T12:00:21.000Z"}}