{"schema_version":"1.9.0","id":"CVE-2022-50355","published":"2025-09-17T14:56:08.356Z","modified":"2026-08-12T03:51:13.139940257Z","related":["SUSE-SU-2025:03613-1","SUSE-SU-2025:03615-1","SUSE-SU-2025:03626-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1"],"summary":"staging: vt6655: fix some erroneous memory clean-up loops","details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135"},{"fixed":"637672a71f5016a40b0a6c0f3c8ad25eacedc8c3"},{"fixed":"88b9cc60f26e8a05d1ddbddf91b09ca2915f20e0"},{"fixed":"95ac62e8545be2b0a8cae0beef7c682e2e470e48"},{"fixed":"f19e5b7df54590c831f350381963f25585c8f7d5"},{"fixed":"a9e9806d1c315bc50dce05479a079b9a104474b8"},{"fixed":"ed11b73c963292e7b49c0f37025c58ed3b7921d6"},{"fixed":"2a2db520e3ca5aafba7c211abfd397666c9b5f9d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50355.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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/cve-osv-conversion/osv-output/CVE-2022-50355.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2a2db520e3ca5aafba7c211abfd397666c9b5f9d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/637672a71f5016a40b0a6c0f3c8ad25eacedc8c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/88b9cc60f26e8a05d1ddbddf91b09ca2915f20e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/95ac62e8545be2b0a8cae0beef7c682e2e470e48"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9e9806d1c315bc50dce05479a079b9a104474b8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ed11b73c963292e7b49c0f37025c58ed3b7921d6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f19e5b7df54590c831f350381963f25585c8f7d5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50355.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50355"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50355.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}