{"id":"CVE-2022-49874","summary":"HID: hyperv: fix possible memory leak in mousevsc_probe()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: hyperv: fix possible memory leak in mousevsc_probe()\n\nIf hid_add_device() returns error, it should call hid_destroy_device()\nto free hid_dev which is allocated in hid_allocate_device().","modified":"2026-04-03T13:14:48.639244459Z","published":"2025-05-01T14:10:23.783Z","related":["SUSE-SU-2025:01918-1","SUSE-SU-2025:01966-1","SUSE-SU-2025:01983-1","SUSE-SU-2025:02173-1","SUSE-SU-2025:02262-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49874.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/249b743801c00542e9324f87b380032e957a43e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ad95d71344b7ffec360d62591633b3c465dc049"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f3aba6566b866f5b0a4916f0b2e8a6ae66a6451"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8597b59e3d22b27849bd3e4f92a3d466774bfb04"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a6d2fb1874c52ace1f5cf1966ee558829c5c19b6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b5bcb94b0954a026bbd671741fdb00e7141f9c91"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e29289d0d8193fca6d2c1f0a1de75cfc80edec00"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ed75d1a1c31a0cae8ecc8bcea710b25c0be68da0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49874.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49874"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2022-49874.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}