- Home
- Vulnerabilities
- CVE-2022-50882
CVE-2022-50882
media: uvcvideo: Fix memory leak in uvc_gpio_parse
Low
13/100
Summary
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 products and versions
Linux (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Linux | 5.12 |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)