# CVE-2022-50175: media: tw686x: Fix memory leak in tw686x_video_init

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-06-18T11:03:26.344Z
- Modified: 2026-06-17T05:22:54.810Z
- Weaknesses: CWE-401
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 before 611f86965df013d6021e6cd0d155b1734ad2cf21; from 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 before 0597bcf774896a002edcc7934a9cdbb932b66702; from 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 before c142a7531b90c6b0f946c82d3f504b3f36a207df; from 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 before 8b412db51db24dfba22c96948580d4a12f831397; from 704a84ccdbf19fdce9adfda0b936dfdcac52fa49 before e0b212ec9d8177d6f7c404315293f6a085d6ee42; 4.7 (not affected: before 4.7; from 5.10.137 up to 5.10.*; from 5.15.61 up to 5.15.*; from 5.18.18 up to 5.18.*; from 5.19.2 up to 5.19.*; from 6.0 up to *)
- 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

## References

- <https://git.kernel.org/stable/c/611f86965df013d6021e6cd0d155b1734ad2cf21> (patch)
- <https://git.kernel.org/stable/c/0597bcf774896a002edcc7934a9cdbb932b66702> (patch)
- <https://git.kernel.org/stable/c/c142a7531b90c6b0f946c82d3f504b3f36a207df> (patch)
- <https://git.kernel.org/stable/c/8b412db51db24dfba22c96948580d4a12f831397> (patch)
- <https://git.kernel.org/stable/c/e0b212ec9d8177d6f7c404315293f6a085d6ee42> (patch)

## Sources

- CVE List: [CVE-2022-50175](https://www.cve.org/CVERecord?id=CVE-2022-50175), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50175](https://nvd.nist.gov/vuln/detail/CVE-2022-50175), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50175 · Whole record: https://cve.day/CVE-2022-50175.json · Rebuilt by cve.day 2026-11-25T22:58:21.090Z
