CVE-2022-49508
published 2025-02-26CVE-2022-49508: 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…
PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.30%
22.0th percentile
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
19 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.18.5-1 (bookworm) | linux 5.18.5-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 9a6a4193d65b853020ef0e66cecdf9e64a863883 < c92ec22a991778a096342cf1a917ae36c5c86a90 | c92ec22a991778a096342cf1a917ae36c5c86a90 |
| linux | linux | >= 9a6a4193d65b853020ef0e66cecdf9e64a863883 < f1d4f19a796551edc6679a681ea1756b8c578c08 | f1d4f19a796551edc6679a681ea1756b8c578c08 |
| linux | linux | >= 9a6a4193d65b853020ef0e66cecdf9e64a863883 < 6d0726725c7c560495f5ff364862a2cefea542e3 | 6d0726725c7c560495f5ff364862a2cefea542e3 |
| linux | linux | >= 9a6a4193d65b853020ef0e66cecdf9e64a863883 < 24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47 | 24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47 |
| linux | linux | >= 9a6a4193d65b853020ef0e66cecdf9e64a863883 < 5291451851feeb66fd4bf0826710f482f3b1ab38 | 5291451851feeb66fd4bf0826710f482f3b1ab38 |
| linux | linux | >= 9a6a4193d65b853020ef0e66cecdf9e64a863883 < 8bb1716507ebf12d50bbf181764481de3b6bc7fd | 8bb1716507ebf12d50bbf181764481de3b6bc7fd |
| linux | linux | >= 9a6a4193d65b853020ef0e66cecdf9e64a863883 < 1af20714fedad238362571620be0bd690ded05b6 | 1af20714fedad238362571620be0bd690ded05b6 |
| linux | linux_kernel | >= 0 < 5.10.127-1 | 5.10.127-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 4.17 < 4.19.247 | 4.19.247 |
| linux | linux_kernel | >= 4.20 < 5.4.198 | 5.4.198 |
| linux | linux_kernel | >= 5.11 < 5.15.46 | 5.15.46 |
| linux | linux_kernel | >= 5.16 < 5.17.14 | 5.17.14 |
| linux | linux_kernel | >= 5.18 < 5.18.3 | 5.18.3 |
| linux | linux_kernel | >= 5.5 < 5.10.121 | 5.10.121 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-9jwp-f88q-j572: In the Linux kernel, the following vulnerability has been resolved:
HID: elan: Fix potential double free in elan_input_configured
'input' is a manag
ghsa_unreviewed·2025-03-17
CVE-2022-49508 [HIGH] CWE-415 GHSA-9jwp-f88q-j572: In the Linux kernel, the following vulnerability has been resolved:
HID: elan: Fix potential double free in elan_input_configured
'input' is a manag
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).
OSV
CVE-2022-49508: In the Linux kernel, the following vulnerability has been resolved: HID: elan: Fix potential double free in elan_input_configured 'input' is a managed
osv·2025-02-26·CVSS 7.8
CVE-2022-49508 [HIGH] CVE-2022-49508: In the Linux kernel, the following vulnerability has been resolved: HID: elan: Fix potential double free in elan_input_configured 'input' is a managed
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).
Red Hat
kernel: HID: elan: Fix potential double free in elan_input_configured
vendor_redhat·2025-02-26·CVSS 7.8
CVE-2022-49508 [HIGH] CWE-415 kernel: HID: elan: Fix potential double free in elan_input_configured
kernel: HID: elan: Fix potential double free in elan_input_configured
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).
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (
Debian
CVE-2022-49508: linux - In the Linux kernel, the following vulnerability has been resolved: HID: elan: ...
vendor_debian·2022·CVSS 7.8
CVE-2022-49508 [HIGH] CVE-2022-49508: linux - In the Linux kernel, the following vulnerability has been resolved: HID: elan: ...
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).
Scope: local
bookworm: resolved (fixed in 5.18.5-1)
bullseye: resolved (fixed in 5.10.127-1)
forky: resolved (fixed in 5.18.5-1)
sid: resolved (fixed in 5.18.5-1)
trixie: resolved (fixed in 5.18.5-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/1af20714fedad238362571620be0bd690ded05b6https://git.kernel.org/stable/c/24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47https://git.kernel.org/stable/c/5291451851feeb66fd4bf0826710f482f3b1ab38https://git.kernel.org/stable/c/6d0726725c7c560495f5ff364862a2cefea542e3https://git.kernel.org/stable/c/8bb1716507ebf12d50bbf181764481de3b6bc7fdhttps://git.kernel.org/stable/c/c92ec22a991778a096342cf1a917ae36c5c86a90https://git.kernel.org/stable/c/f1d4f19a796551edc6679a681ea1756b8c578c08
2025-02-26
Published