CVE-2022-50882
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")
Affected versions
Linux kernel versions
5.12
and later are affected. Fixed in
5.15.75,
5.19.17,
6.0.3,
6.1
and their respective stable series.
References
The following references provide additional information about CVE-2022-50882 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4a7ae8d982a89b3b43b36ec7d62a2e3d06ffa16e
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6c5da92103bddd1f0c36cb69446ff7cae3043986
-
PatchKernel patch commithttps://git.kernel.org/stable/c/deb8f32ae4b10a48c433f2da1b1159521ac24674
Frequently asked questions
-
What is CVE-2022-50882?
CVE-2022-50882 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.12 onward and has been patched in 5.15.75, 5.19.17, 6.0.3 and others. CVE-2022-50882 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2022-50882?
Yes — CVE-2022-50882 has been patched. Fixed versions include 5.15.75, 5.19.17, 6.0.3 and others. If you are running Linux kernel 5.12 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50882 actively exploited?
No — CVE-2022-50882 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.