Files
linux-stable-mirror/drivers/input
Dmitry Torokhov a55a683a8e Input: rmi4 - fix memory leak in rmi_set_attn_data()
kfifo_put() returns 0 if the FIFO is full. In this case, we must
free the memory allocated for the attention data to avoid a leak.

Fixes: b908d3cd81 ("Input: synaptics-rmi4 - allow to add attention data")
Cc: stable@vger.kernel.org
Assisted-by: Gemini:gemini-3.1-pro
Link: https://patch.msgid.link/20260505045952.1570713-5-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2026-06-11 22:39:27 -07:00
..
2026-05-31 19:43:25 -07:00
2026-06-10 11:04:17 -07:00
2026-05-31 19:43:25 -07:00
2026-06-10 11:04:17 -07:00
2026-03-12 10:44:42 -07:00