# CVE-2022-49508: HID: elan: Fix potential double free in elan_input_configured

- Severity: High 7.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-02)
- Published: 2025-02-26T02:13:39.472Z
- Modified: 2026-06-17T05:18:16.683Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 9a6a4193d65b853020ef0e66cecdf9e64a863883 before c92ec22a991778a096342cf1a917ae36c5c86a90; from 9a6a4193d65b853020ef0e66cecdf9e64a863883 before f1d4f19a796551edc6679a681ea1756b8c578c08; from 9a6a4193d65b853020ef0e66cecdf9e64a863883 before 6d0726725c7c560495f5ff364862a2cefea542e3; from 9a6a4193d65b853020ef0e66cecdf9e64a863883 before 24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47; from 9a6a4193d65b853020ef0e66cecdf9e64a863883 before 5291451851feeb66fd4bf0826710f482f3b1ab38; from 9a6a4193d65b853020ef0e66cecdf9e64a863883 before 8bb1716507ebf12d50bbf181764481de3b6bc7fd; from 9a6a4193d65b853020ef0e66cecdf9e64a863883 before 1af20714fedad238362571620be0bd690ded05b6; 4.17 (not affected: before 4.17; from 4.19.247 up to 4.19.*; from 5.4.198 up to 5.4.*; from 5.10.121 up to 5.10.*; from 5.15.46 up to 5.15.*; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 4.17 before 4.19.247; from 4.20 before 5.4.198; from 5.5 before 5.10.121; from 5.11 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3

## Every score

- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/c92ec22a991778a096342cf1a917ae36c5c86a90> (patch)
- <https://git.kernel.org/stable/c/f1d4f19a796551edc6679a681ea1756b8c578c08> (patch)
- <https://git.kernel.org/stable/c/6d0726725c7c560495f5ff364862a2cefea542e3> (patch)
- <https://git.kernel.org/stable/c/24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47> (patch)
- <https://git.kernel.org/stable/c/5291451851feeb66fd4bf0826710f482f3b1ab38> (patch)
- <https://git.kernel.org/stable/c/8bb1716507ebf12d50bbf181764481de3b6bc7fd> (patch)
- <https://git.kernel.org/stable/c/1af20714fedad238362571620be0bd690ded05b6> (patch)

## Sources

- CVE List: [CVE-2022-49508](https://www.cve.org/CVERecord?id=CVE-2022-49508), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49508](https://nvd.nist.gov/vuln/detail/CVE-2022-49508), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49508 · Whole record: https://cve.day/CVE-2022-49508.json · Rebuilt by cve.day 2026-11-25T22:58:20.698Z
