CVE-2022-49508

HID: elan: Fix potential double free in elan_input_configured

High · published February 26, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
21.2
In the wild
Unconfirmed
What it is

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).

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00297 · 21.2th percentile
Published
2025-02-26T02:13Z
EPSS history
Timeline
  • 26 FEB 02:13Z
    HID: elan: Fix potential double free in elan_input_configured
    cvelistv5