CVE-2022-49874

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

MEDIUM
5.5
CVSS Score
Published: May 1, 2025 at 02:10 PM UTC
Updated: June 17, 2026 at 05:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: HID: hyperv: fix possible memory leak in mousevsc_probe() If hid_add_device() returns error, it should call hid_destroy_device() to free hid_dev which is allocated in hid_allocate_device().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.3 ≤ v < 4.14.3003.3 ≤ v < 4.19.2673.3 ≤ v < 4.9.3343.3 ≤ v < 5.10.1553.3 ≤ v < 5.15.793.3 ≤ v < 5.4.2253.3 ≤ v < 6.0.93.3 ≤ v < 6.14.10 ≤ v < 4.14.3004.15 ≤ v < 4.19.2674.20 ≤ v < 5.4.2255.11 ≤ v < 5.15.795.16 ≤ v < 6.0.95.5 ≤ v < 5.10.1556.1 rc16.1 rc26.1 rc36.1 rc474c4fb058083b47571a4f76dcfce95085f2d8098
Vendor states this is fixed in 249b743801c00542e9324f87b380032e957a43e8 (fixed)
Vendor states this is fixed in 5ad95d71344b7ffec360d62591633b3c465dc049 (fixed)
Vendor states this is fixed in 5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451 (fixed)
Vendor states this is fixed in 8597b59e3d22b27849bd3e4f92a3d466774bfb04 (fixed)
Vendor states this is fixed in a6d2fb1874c52ace1f5cf1966ee558829c5c19b6 (fixed)
Vendor states this is fixed in b5bcb94b0954a026bbd671741fdb00e7141f9c91 (fixed)
Vendor states this is fixed in e29289d0d8193fca6d2c1f0a1de75cfc80edec00 (fixed)
Vendor states this is fixed in ed75d1a1c31a0cae8ecc8bcea710b25c0be68da0 (fixed)
Vendor states this is fixed in 3.3 (unaffected)
Vendor states this is fixed in 4.14.300 (unaffected)
Vendor states this is fixed in 4.19.267 (unaffected)
Vendor states this is fixed in 4.9.334 (unaffected)
Vendor states this is fixed in 5.10.155 (unaffected)
Vendor states this is fixed in 5.15.79 (unaffected)
Vendor states this is fixed in 5.4.225 (unaffected)
Vendor states this is fixed in 6.0.9 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/249b743801c00542e9324f87b380032e957a43e8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5ad95d71344b7ffec360d62591633b3c465dc049
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8597b59e3d22b27849bd3e4f92a3d466774bfb04
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a6d2fb1874c52ace1f5cf1966ee558829c5c19b6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b5bcb94b0954a026bbd671741fdb00e7141f9c91
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e29289d0d8193fca6d2c1f0a1de75cfc80edec00
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ed75d1a1c31a0cae8ecc8bcea710b25c0be68da0

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card