{"id":"CVE-2022-50758","aliases":["CVE-2022-50758"],"related":[],"kind":"vulnerability","state":"published","title":"staging: vt6655: fix potential memory leak","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: vt6655: fix potential memory leak\n\nIn function device_init_td0_ring, memory is allocated for member\ntd_info of priv->apTD0Rings[i], with i increasing from 0. In case of\nallocation failure, the memory is freed in reversed order, with i\ndecreasing to 0. However, the case i=0 is left out and thus memory is\nleaked.\n\nModify the memory freeing loop to include the case i=0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: vt6655: fix potential memory leak\n\nIn function device_init_td0_ring, memory is allocated for member\ntd_info of priv->apTD0Rings[i], with i increasing from 0. In case of\nallocation failure, the memory is freed in reversed order, with i\ndecreasing to 0. However, the case i=0 is left out and thus memory is\nleaked.\n\nModify the memory freeing loop to include the case i=0.","source":"cvelist"}],"published":"2025-12-24T13:05:51.159Z","modified":"2026-08-05T08:59:44.493Z","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"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135","fixed":"e741e38aa98704fbb959650ecd270b71b2670680","status":"affected"},{"type":"git","introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135","fixed":"16a45e78a687eb6c69acc4e62b94b6508b0bfbda","status":"affected"},{"type":"git","introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135","fixed":"1b3cebeca99e8e0aa4fa57faac8dbf41e967317a","status":"affected"},{"type":"git","introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135","fixed":"ff8551d411f12b5abc5ca929ab87643afa8a9588","status":"affected"},{"type":"git","introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135","fixed":"fb5f569bcda8f87bd47d8030bfae343d757fa3ea","status":"affected"},{"type":"git","introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135","fixed":"cfdf139258614ef65b0f68b857ada5328fb7c0e5","status":"affected"},{"type":"git","introduced":"5341ee0adb17d12a96dc5344e0d267cd12b52135","fixed":"c8ff91535880d41b49699b3829fb6151942de29e","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"}],"references":[{"url":"https://git.kernel.org/stable/c/e741e38aa98704fbb959650ecd270b71b2670680","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16a45e78a687eb6c69acc4e62b94b6508b0bfbda","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b3cebeca99e8e0aa4fa57faac8dbf41e967317a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ff8551d411f12b5abc5ca929ab87643afa8a9588","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb5f569bcda8f87bd47d8030bfae343d757fa3ea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cfdf139258614ef65b0f68b857ada5328fb7c0e5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c8ff91535880d41b49699b3829fb6151942de29e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50758","url":"https://www.cve.org/CVERecord?id=CVE-2022-50758","licence":"CVE Terms of Use","modified":"2026-08-05T08:59:44.493Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50758","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50758","licence":"Public domain","modified":"2026-08-04T10:18:23.890Z"}],"updatedAt":"2026-11-25T22:58:21.350Z","epss":{"score":0.00236,"percentile":0.15538,"date":"2026-12-02T12:00:21.000Z"}}