Security Advisory

CVE-2022-49982

CVE vulnerability detail — eXtreme Datacenter Security Operations

Published 2025-06-18 11:00:44
Last updated 2026-05-11 19:10:27
Assigner Linux
State PUBLISHED

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.