CVE-2022-50758

staging: vt6655: fix potential memory leak

State
Published
Severity
7.8 High
Published
Dec 24, 2025
Updated
Aug 5, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5341ee0adb17d12a96dc5344e0d267cd12b52135 to before e741e38aa98704fbb959650ecd270b71b2670680Affected
  • 5341ee0adb17d12a96dc5344e0d267cd12b52135 to before 16a45e78a687eb6c69acc4e62b94b6508b0bfbdaAffected
  • 5341ee0adb17d12a96dc5344e0d267cd12b52135 to before 1b3cebeca99e8e0aa4fa57faac8dbf41e967317aAffected
  • 5341ee0adb17d12a96dc5344e0d267cd12b52135 to before ff8551d411f12b5abc5ca929ab87643afa8a9588Affected
  • 5341ee0adb17d12a96dc5344e0d267cd12b52135 to before fb5f569bcda8f87bd47d8030bfae343d757fa3eaAffected
  • 5341ee0adb17d12a96dc5344e0d267cd12b52135 to before cfdf139258614ef65b0f68b857ada5328fb7c0e5Affected
  • 5341ee0adb17d12a96dc5344e0d267cd12b52135 to before c8ff91535880d41b49699b3829fb6151942de29eAffected
LinuxLinux
  • 4.18Affected
  • before 4.18Not affected
  • 4.19.262 through 4.19.*Not affected
  • 5.4.220 through 5.4.*Not affected
  • 5.10.150 through 5.10.*Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.