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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

17 Mar 2025, 16:50

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/1af20714fedad238362571620be0bd690ded05b6 - () https://git.kernel.org/stable/c/1af20714fedad238362571620be0bd690ded05b6 - Patch
References () https://git.kernel.org/stable/c/24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47 - () https://git.kernel.org/stable/c/24f9dfdaece9bd75bb8dbfdba83eddeefdf7dc47 - Patch
References () https://git.kernel.org/stable/c/5291451851feeb66fd4bf0826710f482f3b1ab38 - () https://git.kernel.org/stable/c/5291451851feeb66fd4bf0826710f482f3b1ab38 - Patch
References () https://git.kernel.org/stable/c/6d0726725c7c560495f5ff364862a2cefea542e3 - () https://git.kernel.org/stable/c/6d0726725c7c560495f5ff364862a2cefea542e3 - Patch
References () https://git.kernel.org/stable/c/8bb1716507ebf12d50bbf181764481de3b6bc7fd - () https://git.kernel.org/stable/c/8bb1716507ebf12d50bbf181764481de3b6bc7fd - Patch
References () https://git.kernel.org/stable/c/c92ec22a991778a096342cf1a917ae36c5c86a90 - () https://git.kernel.org/stable/c/c92ec22a991778a096342cf1a917ae36c5c86a90 - Patch
References () https://git.kernel.org/stable/c/f1d4f19a796551edc6679a681ea1756b8c578c08 - () https://git.kernel.org/stable/c/f1d4f19a796551edc6679a681ea1756b8c578c08 - Patch
Summary
  • (es) 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).
CWE CWE-415
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8

26 Feb 2025, 07:01

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-26 07:01

Updated : 2025-03-17 16:50


NVD link : CVE-2022-49508

Mitre link : CVE-2022-49508

CVE.ORG link : CVE-2022-49508


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-415

Double Free