{"id":"CVE-2022-49508","aliases":["CVE-2022-49508"],"related":[],"kind":"vulnerability","state":"published","title":"HID: elan: Fix potential double free in elan_input_configured","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: elan: Fix potential double free in elan_input_configured\n\n'input' is a managed resource allocated with devm_input_allocate_device(),\nso there is no need to call input_free_device() explicitly or\nthere will be a double free.\n\nAccording to the doc of devm_input_allocate_device():\n * Managed input devices do not need to be explicitly unregistered or\n * freed as it will be done automatically when owner device unbinds from\n * its driver (or binding fails).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nHID: elan: Fix potential double free in elan_input_configured\n\n'input' is a managed resource allocated with devm_input_allocate_device(),\nso there is no need to call input_free_device() explicitly or\nthere will be a double free.\n\nAccording to the doc of devm_input_allocate_device():\n * Managed input devices do not need to be explicitly unregistered or\n * freed as it will be done automatically when owner device unbinds from\n * its driver (or binding fails).","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: HID: elan: Se corrige una posible doble liberación en elan_input_configured 'input' es un recurso administrado asignado con devm_input_allocate_device(), por lo que no es necesario llamar a input_free_device() explícitamente o habrá una doble liberación. Según la documentación de devm_input_allocate_device(): * Los dispositivos de entrada administrados no necesitan ser desregistrados explícitamente o * liberados ya que se hará automáticamente cuando el dispositivo propietario se desvincule de * su controlador (o la vinculación falle).","source":"nvd"}],"published":"2025-02-26T02:13:39.472Z","modified":"2026-06-17T05:18:16.683Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"type":"git","introduced":"9a6a4193d65b853020ef0e66cecdf9e64a863883","fixed":"c92ec22a991778a096342cf1a917ae36c5c86a90","status":"affected"},{"type":"git","introduced":"9a6a4193d65b853020ef0e66cecdf9e64a863883","fixed":"f1d4f19a796551edc6679a681ea1756b8c578c08","status":"affected"},{"type":"git","introduced":"9a6a4193d65b853020ef0e66cecdf9e64a863883","fixed":"6d0726725c7c560495f5ff364862a2cefea542e3","status":"affected"},{"type":"git","introduced":"9a6a4193d65b853020ef0e66cecdf9e64a863883","fixed":"24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47","status":"affected"},{"type":"git","introduced":"9a6a4193d65b853020ef0e66cecdf9e64a863883","fixed":"5291451851feeb66fd4bf0826710f482f3b1ab38","status":"affected"},{"type":"git","introduced":"9a6a4193d65b853020ef0e66cecdf9e64a863883","fixed":"8bb1716507ebf12d50bbf181764481de3b6bc7fd","status":"affected"},{"type":"git","introduced":"9a6a4193d65b853020ef0e66cecdf9e64a863883","fixed":"1af20714fedad238362571620be0bd690ded05b6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.17","status":"unaffected"},{"type":"semver","introduced":"4.19.247","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.198","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.121","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.46","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.17.14","lastAffected":"5.17.*","status":"unaffected"},{"type":"semver","introduced":"5.18.3","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.17","fixed":"4.19.247"},{"status":"affected","introduced":"4.20","fixed":"5.4.198"},{"status":"affected","introduced":"5.5","fixed":"5.10.121"},{"status":"affected","introduced":"5.11","fixed":"5.15.46"},{"status":"affected","introduced":"5.16","fixed":"5.17.14"},{"status":"affected","introduced":"5.18","fixed":"5.18.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c92ec22a991778a096342cf1a917ae36c5c86a90","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f1d4f19a796551edc6679a681ea1756b8c578c08","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6d0726725c7c560495f5ff364862a2cefea542e3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5291451851feeb66fd4bf0826710f482f3b1ab38","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8bb1716507ebf12d50bbf181764481de3b6bc7fd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1af20714fedad238362571620be0bd690ded05b6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-01T19:38:25.923Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49508","url":"https://www.cve.org/CVERecord?id=CVE-2022-49508","licence":"CVE Terms of Use","modified":"2026-05-11T19:01:16.479Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49508","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49508","licence":"Public domain","modified":"2026-06-17T05:18:16.683Z"}],"updatedAt":"2026-11-25T22:58:20.698Z","epss":{"score":0.00297,"percentile":0.2405,"date":"2026-12-02T12:00:21.000Z"}}