CVE-2022-49982

MEDIUM

Linux Kernel < 4.9.327 - Memory Leak

Title source: rule

Description

In the Linux kernel, the following vulnerability has been resolved: media: pvrusb2: fix memory leak in pvr_probe The error handling code in pvr2_hdw_create forgets to unregister the v4l2 device. When pvr2_hdw_create returns back to pvr2_context_create, it calls pvr2_context_destroy to destroy context, but mp->hdw is NULL, which leads to that pvr2_hdw_destroy directly returns. Fix this by adding v4l2_device_unregister to decrease the refcount of usb interface.

Scores

CVSS v3 5.5
EPSS 0.0002
EPSS Percentile 3.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-401
Status published

Affected Products (8)

linux/linux_kernel < 4.9.327
linux/Kernel < 4.9.327linux
linux/Kernel < 4.14.292linux
linux/Kernel < 4.19.257linux
linux/Kernel < 5.4.212linux
linux/Kernel < 5.10.141linux
linux/Kernel < 5.15.65linux
linux/Kernel < 5.19.7linux

Timeline

Published Jun 18, 2025
Tracked Since Feb 18, 2026