CVEvulnerability

CVE-2022-49982

5.5 MEDIUM Published 2025-06-18 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-06-18
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-401

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.

Affected configurations

• linux linux kernel (< 4.9.327) • linux linux kernel (>= 4.10 < 4.14.292) • linux linux kernel (>= 4.15 < 4.19.257) • linux linux kernel (>= 4.20 < 5.4.212) • linux linux kernel (>= 5.5 < 5.10.141) • linux linux kernel (>= 5.11 < 5.15.65) • linux linux kernel (>= 5.16 < 5.19.7)

Related

Weakness · CWE (1)

  • CWE-401 Missing Release of Memory after Effective Lifetime weakness

References