CVE-2022-50175

media: tw686x: Fix memory leak in tw686x_video_init

State
Published
Severity
Not scored
Published
Jun 18, 2025
Updated
May 11, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

media: tw686x: Fix memory leak in tw686x_video_init

video_device_alloc() allocates memory for vdev, when video_register_device() fails, it doesn't release the memory and leads to memory leak, call video_device_release() to fix this.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 to before 611f86965df013d6021e6cd0d155b1734ad2cf21Affected
  • 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 to before 0597bcf774896a002edcc7934a9cdbb932b66702Affected
  • 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 to before c142a7531b90c6b0f946c82d3f504b3f36a207dfAffected
  • 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 to before 8b412db51db24dfba22c96948580d4a12f831397Affected
  • 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 to before e0b212ec9d8177d6f7c404315293f6a085d6ee42Affected
LinuxLinux
  • 4.7Affected
  • before 4.7Not affected
  • 5.10.137 through 5.10.*Not affected
  • 5.15.61 through 5.15.*Not affected
  • 5.18.18 through 5.18.*Not affected
  • 5.19.2 through 5.19.*Not affected
  • 6.0 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.