Bug 2425154 (CVE-2022-50758) - CVE-2022-50758 kernel: staging: vt6655: fix potential memory leak
Summary: CVE-2022-50758 kernel: staging: vt6655: fix potential memory leak
Keywords:
Status: NEW
Alias: CVE-2022-50758
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-24 14:06 UTC by OSIDB Bzimport
Modified: 2026-06-29 20:34 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 14:06:58 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.