CVE-2022-49874
published 2025-05-01CVE-2022-49874: In the Linux kernel, the following vulnerability has been resolved: HID: hyperv: fix possible memory leak in mousevsc_probe() If hid_add_device() returns…
PriorityP416medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.21%
11.0th percentile
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
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.10-1 (bookworm) | linux 6.0.10-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 74c4fb058083b47571a4f76dcfce95085f2d8098 < ed75d1a1c31a0cae8ecc8bcea710b25c0be68da0 | ed75d1a1c31a0cae8ecc8bcea710b25c0be68da0 |
| linux | linux | >= 74c4fb058083b47571a4f76dcfce95085f2d8098 < 249b743801c00542e9324f87b380032e957a43e8 | 249b743801c00542e9324f87b380032e957a43e8 |
| linux | linux | >= 74c4fb058083b47571a4f76dcfce95085f2d8098 < a6d2fb1874c52ace1f5cf1966ee558829c5c19b6 | a6d2fb1874c52ace1f5cf1966ee558829c5c19b6 |
| linux | linux | >= 74c4fb058083b47571a4f76dcfce95085f2d8098 < e29289d0d8193fca6d2c1f0a1de75cfc80edec00 | e29289d0d8193fca6d2c1f0a1de75cfc80edec00 |
| linux | linux | >= 74c4fb058083b47571a4f76dcfce95085f2d8098 < 8597b59e3d22b27849bd3e4f92a3d466774bfb04 | 8597b59e3d22b27849bd3e4f92a3d466774bfb04 |
| linux | linux | >= 74c4fb058083b47571a4f76dcfce95085f2d8098 < 5ad95d71344b7ffec360d62591633b3c465dc049 | 5ad95d71344b7ffec360d62591633b3c465dc049 |
| linux | linux | >= 74c4fb058083b47571a4f76dcfce95085f2d8098 < 5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451 | 5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451 |
| linux | linux | >= 74c4fb058083b47571a4f76dcfce95085f2d8098 < b5bcb94b0954a026bbd671741fdb00e7141f9c91 | b5bcb94b0954a026bbd671741fdb00e7141f9c91 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.158-1 | 5.10.158-1 |
| linux | linux_kernel | >= 0 < 6.0.10-1 | 6.0.10-1 |
| linux | linux_kernel | >= 0 < 6.0.10-1 | 6.0.10-1 |
| linux | linux_kernel | >= 0 < 6.0.10-1 | 6.0.10-1 |
| linux | linux_kernel | >= 3.3 < 4.9.334 | 4.9.334 |
| linux | linux_kernel | >= 4.10 < 4.14.300 | 4.14.300 |
| linux | linux_kernel | >= 4.15 < 4.19.267 | 4.19.267 |
| linux | linux_kernel | >= 4.20 < 5.4.225 | 5.4.225 |
| linux | linux_kernel | >= 5.11 < 5.15.79 | 5.15.79 |
| linux | linux_kernel | >= 5.16 < 6.0.9 | 6.0.9 |
| linux | linux_kernel | >= 5.5 < 5.10.155 | 5.10.155 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-5q7j-4fw2-f268: In the Linux kernel, the following vulnerability has been resolved:
HID: hyperv: fix possible memory leak in mousevsc_probe()
If hid_add_device() re
ghsa_unreviewed·2025-05-01
CVE-2022-49874 [MEDIUM] CWE-401 GHSA-5q7j-4fw2-f268: In the Linux kernel, the following vulnerability has been resolved:
HID: hyperv: fix possible memory leak in mousevsc_probe()
If hid_add_device() re
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().
OSV
CVE-2022-49874: In the Linux kernel, the following vulnerability has been resolved: HID: hyperv: fix possible memory leak in mousevsc_probe() If hid_add_device() retu
osv·2025-05-01·CVSS 5.5
CVE-2022-49874 [MEDIUM] CVE-2022-49874: In the Linux kernel, the following vulnerability has been resolved: HID: hyperv: fix possible memory leak in mousevsc_probe() If hid_add_device() retu
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().
Red Hat
kernel: HID: hyperv: fix possible memory leak in mousevsc_probe()
vendor_redhat·2025-05-01·CVSS 5.5
CVE-2022-49874 [MEDIUM] kernel: HID: hyperv: fix possible memory leak in mousevsc_probe()
kernel: HID: hyperv: fix possible memory leak in mousevsc_probe()
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().
Statement: A potential memory leak was fixed in the Hyper-V mouse driver (`mousevsc_probe`). If `hid_add_device()` failed, the allocated HID device structure (`hid_dev`) was not freed, leading to a leak. The patch ensures proper cleanup by calling `hid_destroy_device()` on failure paths.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Out of
Debian
CVE-2022-49874: linux - In the Linux kernel, the following vulnerability has been resolved: HID: hyperv...
vendor_debian·2022·CVSS 5.5
CVE-2022-49874 [MEDIUM] CVE-2022-49874: linux - In the Linux kernel, the following vulnerability has been resolved: HID: hyperv...
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().
Scope: local
bookworm: resolved (fixed in 6.0.10-1)
bullseye: resolved (fixed in 5.10.158-1)
forky: resolved (fixed in 6.0.10-1)
sid: resolved (fixed in 6.0.10-1)
trixie: resolved (fixed in 6.0.10-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/249b743801c00542e9324f87b380032e957a43e8https://git.kernel.org/stable/c/5ad95d71344b7ffec360d62591633b3c465dc049https://git.kernel.org/stable/c/5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451https://git.kernel.org/stable/c/8597b59e3d22b27849bd3e4f92a3d466774bfb04https://git.kernel.org/stable/c/a6d2fb1874c52ace1f5cf1966ee558829c5c19b6https://git.kernel.org/stable/c/b5bcb94b0954a026bbd671741fdb00e7141f9c91https://git.kernel.org/stable/c/e29289d0d8193fca6d2c1f0a1de75cfc80edec00https://git.kernel.org/stable/c/ed75d1a1c31a0cae8ecc8bcea710b25c0be68da0
2025-05-01
Published