CVE-2022-50882 Details
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")
A memory leak vulnerability has been identified in the Linux kernel's UVC video driver. This issue arises in the GPIO parsing function, where a buffer is allocated before verifying the interrupt request (IRQ) for privacy GPIO. If an error occurs, the allocated buffer is not properly released, leading to a memory leak. The vulnerability affects the stable versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. The specific commit that fixes this issue is available in the Linux kernel stable tree.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/4a7ae8d982a89b3b43b36ec7d62a2e3d06ffa16e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/6c5da92103bddd1f0c36cb69446ff7cae3043986 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/deb8f32ae4b10a48c433f2da1b1159521ac24674 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f0f078457f18f10696888f8d0e6aba9deb9cde92 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion