Overview
About vulnerability
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).
Details
- Affected product:
- CentOS 8.4 ELS , CentOS 8.5 ELS
- Affected packages:
- kernel @ 4.18.0 (+1 more)
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).