{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50882","id":"CVE-2022-50882","title":"media: uvcvideo: Fix memory leak in uvc_gpio_parse","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: uvcvideo: Fix memory leak in uvc_gpio_parse\n\nPreviously the unit buffer was allocated before checking the IRQ for\nprivacy GPIO. In case of error, the unit buffer was leaked.\n\nAllocate the unit buffer after the IRQ to avoid it.\n\nAddresses-Coverity-ID: 1474639 (\"Resource leak\")","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: uvcvideo: Fix memory leak in uvc_gpio_parse\n\nPreviously the unit buffer was allocated before checking the IRQ for\nprivacy GPIO. In case of error, the unit buffer was leaked.\n\nAllocate the unit buffer after the IRQ to avoid it.\n\nAddresses-Coverity-ID: 1474639 (\"Resource leak\")","published":"2025-12-30T12:23:21.019Z","updated":"2026-10-28T02:30:42.953829289Z","reserved":"2025-12-30T12:06:07.137Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2886477ff98740cc3333cf785e4de0b1ff3d7a28","lessThan":"6c5da92103bddd1f0c36cb69446ff7cae3043986","status":"affected","versionType":"git"},{"version":"2886477ff98740cc3333cf785e4de0b1ff3d7a28","lessThan":"deb8f32ae4b10a48c433f2da1b1159521ac24674","status":"affected","versionType":"git"},{"version":"2886477ff98740cc3333cf785e4de0b1ff3d7a28","lessThan":"4a7ae8d982a89b3b43b36ec7d62a2e3d06ffa16e","status":"affected","versionType":"git"},{"version":"2886477ff98740cc3333cf785e4de0b1ff3d7a28","lessThan":"f0f078457f18f10696888f8d0e6aba9deb9cde92","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","lessThan":"5.12","status":"unaffected","versionType":"semver"},{"version":"5.15.75","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.19.17","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0.3","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6c5da92103bddd1f0c36cb69446ff7cae3043986","tags":["web"]},{"url":"https://git.kernel.org/stable/c/deb8f32ae4b10a48c433f2da1b1159521ac24674","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4a7ae8d982a89b3b43b36ec7d62a2e3d06ffa16e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f0f078457f18f10696888f8d0e6aba9deb9cde92","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50882.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50882","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00199,"epssPercentile":0.09877,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50882","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50882","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50882","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50882","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}