CVE-2022-49874: HID: hyperv: fix possible memory leak in mousevsc_probe()
Published May 1, 2025
·Updated
In the Linux kernel, the following vulnerability has been resolved:
HID: hyperv: fix possible memory leak in mousevscprobe()
If hidadddevice() returns error, it should call hiddestroydevice() to free hiddev which is allocated in hidallocatedevice().
Affected Software
12 affected components
Linux Linux kernel
Linux Linux kernel>=3.3<4.9.334
Linux Linux kernel>=4.10<4.14.300
Linux Linux kernel>=4.15<4.19.267
Linux Linux kernel>=4.20<5.4.225
Linux Linux kernel>=5.5<5.10.155
Linux Linux kernel>=5.11<5.15.79
Linux Linux kernel>=5.16<6.0.9
Linux Linux kernel=6.1-rc1
Linux Linux kernel=6.1-rc2
Linux Linux kernel=6.1-rc3
Linux Linux kernel=6.1-rc4
Remediation
Event History
May 1, 2025
CVE Published
via MITRE·02:10 PM
Data Sourced
via MITRE·02:10 PM
Description
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Frequently Asked Questions
1
What is the severity of CVE-2022-49874?
CVE-2022-49874 is classified as a low-severity vulnerability affecting the Linux kernel.
2
How do I fix CVE-2022-49874?
To fix CVE-2022-49874, update your Linux kernel to the latest version where the vulnerability has been resolved.
3
What systems are affected by CVE-2022-49874?
CVE-2022-49874 affects the Linux kernel, specifically installations using hyperv for HID devices.
4
What type of vulnerability is CVE-2022-49874?
CVE-2022-49874 is a memory leak vulnerability in the Linux kernel's HID subsystem.
5
Is there a workaround for CVE-2022-49874?
No specific workaround is available for CVE-2022-49874; updating the kernel is recommended.