PT-2025-18591 · Linux+2 · Linux Kernel+2
Published
2025-05-01
·
Updated
2025-07-10
·
CVE-2022-49874
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A memory leak issue has been identified in the Linux kernel, specifically in the
mousevsc probe() function. The problem occurs when hid add device() returns an error, and hid destroy device() is not called to free the allocated hid dev in hid allocate device().Recommendations
For the Linux kernel, ensure that
hid destroy device() is called when hid add device() returns an error to prevent the memory leak.
As a temporary workaround, consider implementing error handling to free allocated resources in hid allocate device() when hid add device() fails.Exploit
Fix
Memory Leak
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse