Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 before 611f86965df013d6021e6cd0d155b1734ad2cf21; affected 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 before 0597bcf774896a002edcc7934a9cdbb932b66702; affected 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 before c142a7531b90c6b0f946c82d3f504b3f36a207df; affected 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 before 8b412db51db24dfba22c96948580d4a12f831397; affected 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 before e0b212ec9d8177d6f7c404315293f6a085d6ee42 |
| Linux / Linux | affected 4.7; unaffected 0 before 4.7; unaffected 5.10.137 through 5.10.*; unaffected 5.15.61 through 5.15.*; unaffected 5.18.18 through 5.18.*; unaffected 5.19.2 through 5.19.*; unaffected 6.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/611f86965df013d6021e6cd0d155b1734ad2cf21
- https://git.kernel.org/stable/c/0597bcf774896a002edcc7934a9cdbb932b66702
- https://git.kernel.org/stable/c/c142a7531b90c6b0f946c82d3f504b3f36a207df
- https://git.kernel.org/stable/c/8b412db51db24dfba22c96948580d4a12f831397
- https://git.kernel.org/stable/c/e0b212ec9d8177d6f7c404315293f6a085d6ee42