CVEvulnerability
CVE-2022-49874
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-05-01
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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 configurations
• 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
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/249b743801c00542e9324f87b380032e957a43e8 Patch
- https://git.kernel.org/stable/c/5ad95d71344b7ffec360d62591633b3c465dc049 Patch
- https://git.kernel.org/stable/c/5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451 Patch
- https://git.kernel.org/stable/c/8597b59e3d22b27849bd3e4f92a3d466774bfb04 Patch
- https://git.kernel.org/stable/c/a6d2fb1874c52ace1f5cf1966ee558829c5c19b6 Patch
- https://git.kernel.org/stable/c/b5bcb94b0954a026bbd671741fdb00e7141f9c91 Patch
- https://git.kernel.org/stable/c/e29289d0d8193fca6d2c1f0a1de75cfc80edec00 Patch
- https://git.kernel.org/stable/c/ed75d1a1c31a0cae8ecc8bcea710b25c0be68da0 Patch