CVE-2022-49508 Details
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).
A potential double free vulnerability has been identified in the Linux kernel's HID Elan driver. The issue arises because the 'input' resource is managed by 'devm_input_allocate_device()', which automatically handles registration and deallocation. However, an explicit call to 'input_free_device()' could lead to a double free situation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1af20714fedad238362571620be0bd690ded05b6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5291451851feeb66fd4bf0826710f482f3b1ab38 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6d0726725c7c560495f5ff364862a2cefea542e3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8bb1716507ebf12d50bbf181764481de3b6bc7fd | kernel.org | Patch |
| https://git.kernel.org/stable/c/c92ec22a991778a096342cf1a917ae36c5c86a90 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f1d4f19a796551edc6679a681ea1756b8c578c08 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-415 | Double Free | [email protected] |
| CWE-415 | Double Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.17, < 4.19.247 >= 4.20, < 5.4.198 >= 5.5, < 5.10.121 >= 5.11, < 5.15.46 >= 5.16, < 5.17.14 >= 5.18, < 5.18.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 17, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |