CVE-2022-49874
HID: hyperv: fix possible memory leak in mousevsc_probe()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < ed75d1a1c31a0cae8ecc8bcea710b25c0be68da0; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 249b743801c00542e9324f87b380032e957a43e8; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < a6d2fb1874c52ace1f5cf1966ee558829c5c19b6; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < e29289d0d8193fca6d2c1f0a1de75cfc80edec00; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 8597b59e3d22b27849bd3e4f92a3d466774bfb04; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 5ad95d71344b7ffec360d62591633b3c465dc049; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < b5bcb94b0954a026bbd671741fdb00e7141f9c91
- Anyone running Linux 3.3
Vulnerability facts
- Affected
- Linux >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < ed75d1a1c31a0cae8ecc8bcea710b25c0be68da0; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 249b743801c00542e9324f87b380032e957a43e8; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < a6d2fb1874c52ace1f5cf1966ee558829c5c19b6; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < e29289d0d8193fca6d2c1f0a1de75cfc80edec00; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 8597b59e3d22b27849bd3e4f92a3d466774bfb04; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 5ad95d71344b7ffec360d62591633b3c465dc049; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < b5bcb94b0954a026bbd671741fdb00e7141f9c91; Linux 3.3
- Fixed in
- Linux 249b743801c00542e9324f87b380032e957a43e8, Linux 8597b59e3d22b27849bd3e4f92a3d466774bfb04, Linux 5ad95d71344b7ffec360d62591633b3c465dc049, Linux 5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- CWE
- CWE-401
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < ed75d1a1c31a0cae8ecc8bcea710b25c0be68da0; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 249b743801c00542e9324f87b380032e957a43e8; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < a6d2fb1874c52ace1f5cf1966ee558829c5c19b6; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < e29289d0d8193fca6d2c1f0a1de75cfc80edec00; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 8597b59e3d22b27849bd3e4f92a3d466774bfb04; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 5ad95d71344b7ffec360d62591633b3c465dc049; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < b5bcb94b0954a026bbd671741fdb00e7141f9c91 | — | cvelist |
| Linux | 3.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49874. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49874.md Affected: Linux >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < ed75d1a1c31a0cae8ecc8bcea710b25c0be68da0; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 249b743801c00542e9324f87b380032e957a43e8; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < a6d2fb1874c52ace1f5cf1966ee558829c5c19b6; >= 74c4fb058083b47571a4f76… Fixed in: Linux 249b743801c00542e9324f87b380032e957a43e8, Linux 8597b59e3d22b27849bd3e4f92a3d466774bfb04, Linux 5ad95d71344b7ffec360d62591633b3c465dc049, Linux 5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/ed75d1a1c31a0cae8ecc8bcea710b25c0be68da0
- https://git.kernel.org/stable/c/249b743801c00542e9324f87b380032e957a43e8
- https://git.kernel.org/stable/c/a6d2fb1874c52ace1f5cf1966ee558829c5c19b6
- https://git.kernel.org/stable/c/e29289d0d8193fca6d2c1f0a1de75cfc80edec00
- https://git.kernel.org/stable/c/8597b59e3d22b27849bd3e4f92a3d466774bfb04
- https://git.kernel.org/stable/c/5ad95d71344b7ffec360d62591633b3c465dc049
- https://git.kernel.org/stable/c/5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451
- https://git.kernel.org/stable/c/b5bcb94b0954a026bbd671741fdb00e7141f9c91
FAQ
Is CVE-2022-49874 being exploited?
There is no confirmed exploitation: CVE-2022-49874 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49874?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49874?
Linux >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < ed75d1a1c31a0cae8ecc8bcea710b25c0be68da0; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 249b743801c00542e9324f87b380032e957a43e8; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < a6d2fb1874c52ace1f5cf1966ee558829c5c19b6; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < e29289d0d8193fca6d2c1f0a1de75cfc80edec00; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 8597b59e3d22b27849bd3e4f92a3d466774bfb04; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 5ad95d71344b7ffec360d62591633b3c465dc049; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < 5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451; >= 74c4fb058083b47571a4f76dcfce95085f2d8098, < b5bcb94b0954a026bbd671741fdb00e7141f9c91; Linux 3.3.
Is there a fix for CVE-2022-49874?
Yes. Fixed in Linux 249b743801c00542e9324f87b380032e957a43e8, Linux 8597b59e3d22b27849bd3e4f92a3d466774bfb04, Linux 5ad95d71344b7ffec360d62591633b3c465dc049, Linux 5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-49874?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.