CVE-2022-49508
HIGH 7.8CVSS 3.1In 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).
- Published
- 26 Feb 2025
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-415
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.17, < 4.19.247 | 4.19.247 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.20, < 5.4.198 | 5.4.198 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.5, < 5.10.121 | 5.10.121 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.46 | 5.15.46 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 5.17.14 | 5.17.14 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.18, < 5.18.3 | 5.18.3 |
References
- https://git.kernel.org/stable/c/1af20714fedad238362571620be0bd690ded05b6 · Patch
- https://git.kernel.org/stable/c/24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47 · Patch
- https://git.kernel.org/stable/c/5291451851feeb66fd4bf0826710f482f3b1ab38 · Patch
- https://git.kernel.org/stable/c/6d0726725c7c560495f5ff364862a2cefea542e3 · Patch
- https://git.kernel.org/stable/c/8bb1716507ebf12d50bbf181764481de3b6bc7fd · Patch
- https://git.kernel.org/stable/c/c92ec22a991778a096342cf1a917ae36c5c86a90 · Patch
- https://git.kernel.org/stable/c/f1d4f19a796551edc6679a681ea1756b8c578c08 · Patch
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 26 Feb 2025)