[PATCH 5.0 091/137] Input: synaptics-rmi4 - fix possible double free

2019-05-15 Thread Greg Kroah-Hartman
[ Upstream commit bce1a78423961fce676ac65540a31b6ffd179e6d ] The RMI4 function structure has been released in rmi_register_function if error occurs. However, it will be released again in the function rmi_create_function, which may result in a double-free bug. Signed-off-by: Pan Bian Signed-off-b

[PATCH 4.19 062/113] Input: synaptics-rmi4 - fix possible double free

2019-05-15 Thread Greg Kroah-Hartman
[ Upstream commit bce1a78423961fce676ac65540a31b6ffd179e6d ] The RMI4 function structure has been released in rmi_register_function if error occurs. However, it will be released again in the function rmi_create_function, which may result in a double-free bug. Signed-off-by: Pan Bian Signed-off-b

[PATCH 4.14 039/115] Input: synaptics-rmi4 - fix possible double free

2019-05-15 Thread Greg Kroah-Hartman
[ Upstream commit bce1a78423961fce676ac65540a31b6ffd179e6d ] The RMI4 function structure has been released in rmi_register_function if error occurs. However, it will be released again in the function rmi_create_function, which may result in a double-free bug. Signed-off-by: Pan Bian Signed-off-b

[PATCH 4.9 29/51] Input: synaptics-rmi4 - fix possible double free

2019-05-15 Thread Greg Kroah-Hartman
[ Upstream commit bce1a78423961fce676ac65540a31b6ffd179e6d ] The RMI4 function structure has been released in rmi_register_function if error occurs. However, it will be released again in the function rmi_create_function, which may result in a double-free bug. Signed-off-by: Pan Bian Signed-off-b

[PATCH AUTOSEL 4.9 25/25] Input: synaptics-rmi4 - fix possible double free

2019-05-06 Thread Sasha Levin
From: Pan Bian [ Upstream commit bce1a78423961fce676ac65540a31b6ffd179e6d ] The RMI4 function structure has been released in rmi_register_function if error occurs. However, it will be released again in the function rmi_create_function, which may result in a double-free bug. Signed-off-by: Pan B

[PATCH AUTOSEL 4.14 34/95] Input: synaptics-rmi4 - fix possible double free

2019-05-06 Thread Sasha Levin
From: Pan Bian [ Upstream commit bce1a78423961fce676ac65540a31b6ffd179e6d ] The RMI4 function structure has been released in rmi_register_function if error occurs. However, it will be released again in the function rmi_create_function, which may result in a double-free bug. Signed-off-by: Pan B

[PATCH AUTOSEL 4.19 60/81] Input: synaptics-rmi4 - fix possible double free

2019-05-06 Thread Sasha Levin
From: Pan Bian [ Upstream commit bce1a78423961fce676ac65540a31b6ffd179e6d ] The RMI4 function structure has been released in rmi_register_function if error occurs. However, it will be released again in the function rmi_create_function, which may result in a double-free bug. Signed-off-by: Pan B

[PATCH AUTOSEL 5.0 89/99] Input: synaptics-rmi4 - fix possible double free

2019-05-06 Thread Sasha Levin
From: Pan Bian [ Upstream commit bce1a78423961fce676ac65540a31b6ffd179e6d ] The RMI4 function structure has been released in rmi_register_function if error occurs. However, it will be released again in the function rmi_create_function, which may result in a double-free bug. Signed-off-by: Pan B

Re: Input: synaptics-rmi4: fix possible double free

2019-04-19 Thread Dmitry Torokhov
On Thu, Apr 18, 2019 at 09:58:35AM +0800, Pan Bian wrote: > The RMI4 function structure has been released in rmi_register_function > if error occurs. However, it will be released again in the function > rmi_create_function, which may result in a double-free bug. > > Signed-off-by: Pan Bian Appli

Input: synaptics-rmi4: fix possible double free

2019-04-17 Thread Pan Bian
The RMI4 function structure has been released in rmi_register_function if error occurs. However, it will be released again in the function rmi_create_function, which may result in a double-free bug. Signed-off-by: Pan Bian --- drivers/input/rmi4/rmi_driver.c | 6 +- 1 file changed, 1 inserti