CVE-2022-49874

Source
https://cve.org/CVERecord?id=CVE-2022-49874
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49874.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49874
Downstream
Related
Published
2025-05-01T14:10:23.783Z
Modified
2026-04-11T12:44:37.759978Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
HID: hyperv: fix possible memory leak in mousevsc_probe()
Details

In the Linux kernel, the following vulnerability has been resolved:

HID: hyperv: fix possible memory leak in mousevsc_probe()

If hidadddevice() returns error, it should call hiddestroydevice() to free hiddev which is allocated in hidallocate_device().

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49874.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
74c4fb058083b47571a4f76dcfce95085f2d8098
Fixed
ed75d1a1c31a0cae8ecc8bcea710b25c0be68da0
Fixed
249b743801c00542e9324f87b380032e957a43e8
Fixed
a6d2fb1874c52ace1f5cf1966ee558829c5c19b6
Fixed
e29289d0d8193fca6d2c1f0a1de75cfc80edec00
Fixed
8597b59e3d22b27849bd3e4f92a3d466774bfb04
Fixed
5ad95d71344b7ffec360d62591633b3c465dc049
Fixed
5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451
Fixed
b5bcb94b0954a026bbd671741fdb00e7141f9c91

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49874.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.3.0
Fixed
4.9.334
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.300
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.267
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.225
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.155
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.79
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49874.json"