CVE-2022-49508

HIGH

Linux Kernel 4.17-5.18.3 - Use-After-Free in HID Elan Input Device

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: HID: elan: Fix potential double free in elan_input_configured 'input' is a managed resource allocated with devm_input_allocate_device(), so there is no need to call input_free_device() explicitly or there will be a double free. According to the doc of devm_input_allocate_device(): * Managed input devices do not need to be explicitly unregistered or * freed as it will be done automatically when owner device unbinds from * its driver (or binding fails).

Scores

CVSS v3 7.8
EPSS 0.0028
EPSS Percentile 19.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-415
Status published
Products (23)
linux/Kernel 4.17.0 - 4.19.247linux
linux/Kernel 4.20.0 - 5.4.198linux
linux/Kernel 5.11.0 - 5.15.46linux
linux/Kernel 5.16.0 - 5.17.14linux
linux/Kernel 5.18.0 - 5.18.3linux
linux/Kernel 5.5.0 - 5.10.121linux
Linux/Linux < 4.17
Linux/Linux 4.17
Linux/Linux 4.19.247 - 4.19.*
Linux/Linux 5.10.121 - 5.10.*
... and 13 more
Published Feb 26, 2025
Tracked Since Feb 18, 2026