CVE-2022-50882

media: uvcvideo: Fix memory leak in uvc_gpio_parse

N/A
Published: December 30, 2025 at 12:23 PM UTC
Updated: June 17, 2026 at 05:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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")

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.12 ≤ v < 5.15.755.12 ≤ v < 5.19.175.12 ≤ v < 6.0.35.12 ≤ v < 6.12886477ff98740cc3333cf785e4de0b1ff3d7a285.12
Vendor states this is fixed in 4a7ae8d982a89b3b43b36ec7d62a2e3d06ffa16e (fixed)
Vendor states this is fixed in 6c5da92103bddd1f0c36cb69446ff7cae3043986 (fixed)
Vendor states this is fixed in deb8f32ae4b10a48c433f2da1b1159521ac24674 (fixed)
Vendor states this is fixed in f0f078457f18f10696888f8d0e6aba9deb9cde92 (fixed)
Vendor states this is fixed in 5.12 (unaffected)
Vendor states this is fixed in 5.15.75 (unaffected)
Vendor states this is fixed in 5.19.17 (unaffected)
Vendor states this is fixed in 6.0.3 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card