CVE-2022-49508

HID: elan: Fix potential double free in elan_input_configured

HIGH
7.8
CVSS Score
Published: February 26, 2025 at 02:13 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.17 ≤ v < 4.19.2474.17 ≤ v < 5.10.1214.17 ≤ v < 5.15.464.17 ≤ v < 5.17.144.17 ≤ v < 5.18.34.17 ≤ v < 5.194.17 ≤ v < 5.4.1984.20 ≤ v < 5.4.1985.11 ≤ v < 5.15.465.16 ≤ v < 5.17.145.18 ≤ v < 5.18.35.5 ≤ v < 5.10.1214.179a6a4193d65b853020ef0e66cecdf9e64a863883
Vendor states this is fixed in 1af20714fedad238362571620be0bd690ded05b6 (fixed)
Vendor states this is fixed in 24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47 (fixed)
Vendor states this is fixed in 5291451851feeb66fd4bf0826710f482f3b1ab38 (fixed)
Vendor states this is fixed in 6d0726725c7c560495f5ff364862a2cefea542e3 (fixed)
Vendor states this is fixed in 8bb1716507ebf12d50bbf181764481de3b6bc7fd (fixed)
Vendor states this is fixed in c92ec22a991778a096342cf1a917ae36c5c86a90 (fixed)
Vendor states this is fixed in f1d4f19a796551edc6679a681ea1756b8c578c08 (fixed)
Vendor states this is fixed in 4.17 (unaffected)
Vendor states this is fixed in 4.19.247 (unaffected)
Vendor states this is fixed in 5.10.121 (unaffected)
Vendor states this is fixed in 5.15.46 (unaffected)
Vendor states this is fixed in 5.17.14 (unaffected)
Vendor states this is fixed in 5.18.3 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1af20714fedad238362571620be0bd690ded05b6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5291451851feeb66fd4bf0826710f482f3b1ab38
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6d0726725c7c560495f5ff364862a2cefea542e3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8bb1716507ebf12d50bbf181764481de3b6bc7fd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c92ec22a991778a096342cf1a917ae36c5c86a90
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f1d4f19a796551edc6679a681ea1756b8c578c08

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-415

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card