CVE-2022-49982

MEDIUM

Linux Kernel < 4.9.327 Use-After-Free in pvrusb2 Driver

Title source: llm
STIX 2.1

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.0020
EPSS Percentile 10.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (26)
linux/Kernel 2.6.30 - 4.9.327linux
linux/Kernel 4.10.0 - 4.14.292linux
linux/Kernel 4.15.0 - 4.19.257linux
linux/Kernel 4.20.0 - 5.4.212linux
linux/Kernel 5.11.0 - 5.15.65linux
linux/Kernel 5.16.0 - 5.19.7linux
linux/Kernel 5.5.0 - 5.10.141linux
Linux/Linux < 2.6.30
Linux/Linux 2.6.30
Linux/Linux 4.14.292 - 4.14.*
... and 16 more
Published Jun 18, 2025
Tracked Since Feb 18, 2026