CVE-2022-50175Published Jun 18, 2025 · Jun 18Updated Oct 28
media: tw686x: Fix memory leak in tw686x_video_init
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's tw686x video initialization leaks allocated memory when video_register_device() fails. The input does not describe how an attacker could trigger that failure or whether access or user interaction is required.
Engineers running Linux kernels with the tw686x driver should check their deployments; affected versions are not specified.