CVE-2022-50882
media: uvcvideo: Fix memory leak in uvc_gpio_parse
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: media: uvcvideo: Fix memory leak in uvc_gpio_parse Previously the unit buffer was allocated before checking the IRQ for privacy GPIO. In case of error, the unit buffer was leaked. Allocate the unit buffer after the IRQ to avoid it. Addresses-Coverity-ID: 1474639 ("Resource leak")
Timeline
ID reserved
By Linux
Published
- 4 months later
· 4 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
No CVSS score yet: neither the CNA, CISA nor NVD has scored this CVE. NVD status: Deferred.
- EPSS (exploitation in 30 days)
- 0.20% · top 90% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Not scored.
Affected products
- affected 2886477ff98740cc3333cf785e4de0b1ff3d7a28 – < 6c5da92103bddd1f0c36cb69446ff7cae3043986
- affected 2886477ff98740cc3333cf785e4de0b1ff3d7a28 – < deb8f32ae4b10a48c433f2da1b1159521ac24674
- affected 2886477ff98740cc3333cf785e4de0b1ff3d7a28 – < 4a7ae8d982a89b3b43b36ec7d62a2e3d06ffa16e
- affected 2886477ff98740cc3333cf785e4de0b1ff3d7a28 – < f0f078457f18f10696888f8d0e6aba9deb9cde92
- affected 5.12
- unaffected < 5.12
- unaffected 5.15.75 – ≤ 5.15.*
- unaffected 5.19.17 – ≤ 5.19.*
- unaffected 6.0.3 – ≤ 6.0.*
- unaffected 6.1 – ≤ *
References (4)
- https://git.kernel.org/stable/c/6c5da92103bddd1f0c36cb69446ff7cae3043986 (opens in a new tab)
- https://git.kernel.org/stable/c/deb8f32ae4b10a48c433f2da1b1159521ac24674 (opens in a new tab)
- https://git.kernel.org/stable/c/4a7ae8d982a89b3b43b36ec7d62a2e3d06ffa16e (opens in a new tab)
- https://git.kernel.org/stable/c/f0f078457f18f10696888f8d0e6aba9deb9cde92 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50882)Record last updated .