Memory Leak Affecting kernel-doc package, versions <0:4.18.0-477.10.1.el8_8


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.21% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-KERNELDOC-14938778
  • published14 Jan 2026
  • disclosed18 Jun 2025

Introduced: 18 Jun 2025

CVE-2022-49982  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade RHEL:8 kernel-doc to version 0:4.18.0-477.10.1.el8_8 or higher.
This issue was patched in RHSA-2023:2951.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-doc package and not the kernel-doc package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1