CVE-2022-50758
Description
In the Linux kernel, the following vulnerability has been resolved: staging: vt6655: fix potential memory leak In function device_init_td0_ring, memory is allocated for member td_info 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.
How to fix
- Linux Linuxe741e38aa98704fbb959650ecd270b71b2670680, 16a45e78a687eb6c69acc4e62b94b6508b0bfbda, 1b3cebeca99e8e0aa4fa57faac8dbf41e967317a, ff8551d411f12b5abc5ca929ab87643afa8a9588, fb5f569bcda8f87bd47d8030bfae343d757fa3ea, cfdf139258614ef65b0f68b857ada5328fb7c0e5, c8ff91535880d41b49699b3829fb6151942de29e or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux Linux | 5341ee0adb17d12a96dc5344e0d267cd12b52135 ≤ v < e741e38aa98704fbb959650ecd270b71b2670680, 5341ee0adb17d12a96dc5344e0d267cd12b52135 ≤ v < 16a45e78a687eb6c69acc4e62b94b6508b0bfbda, 5341ee0adb17d12a96dc5344e0d267cd12b52135 ≤ v < 1b3cebeca99e8e0aa4fa57faac8dbf41e967317a, 5341ee0adb17d12a96dc5344e0d267cd12b52135 ≤ v < ff8551d411f12b5abc5ca929ab87643afa8a9588, 5341ee0adb17d12a96dc5344e0d267cd12b52135 ≤ v < fb5f569bcda8f87bd47d8030bfae343d757fa3ea, 5341ee0adb17d12a96dc5344e0d267cd12b52135 ≤ v < cfdf139258614ef65b0f68b857ada5328fb7c0e5, 5341ee0adb17d12a96dc5344e0d267cd12b52135 ≤ v < c8ff91535880d41b49699b3829fb6151942de29e, 4.18 | e741e38aa98704fbb959650ecd270b71b2670680, 16a45e78a687eb6c69acc4e62b94b6508b0bfbda, 1b3cebeca99e8e0aa4fa57faac8dbf41e967317a, ff8551d411f12b5abc5ca929ab87643afa8a9588, fb5f569bcda8f87bd47d8030bfae343d757fa3ea, cfdf139258614ef65b0f68b857ada5328fb7c0e5, c8ff91535880d41b49699b3829fb6151942de29e |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.