medium5.5
CVE-2022-50175
In the Linux kernel, the following vulnerability has been resolved: media: tw686x: Fix memory leak in tw686x_video_init video_device_alloc() allocates memory f…
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | from 4.7 before 5.10.137 from 5.11 before 5.15.61 from 5.16 before 5.18.18 from 5.19 before 5.19.2 |
Weakness classification
References
- NVD record
- CVE.org record
- https://git.kernel.org/stable/c/0597bcf774896a002edcc7934a9cdbb932b66702
- https://git.kernel.org/stable/c/611f86965df013d6021e6cd0d155b1734ad2cf21
- https://git.kernel.org/stable/c/8b412db51db24dfba22c96948580d4a12f831397
- https://git.kernel.org/stable/c/c142a7531b90c6b0f946c82d3f504b3f36a207df
- https://git.kernel.org/stable/c/e0b212ec9d8177d6f7c404315293f6a085d6ee42