* Dan Carpenter <dan.carpenter@xxxxxxxxxx> [230606 08:26]: > The put_device() function will call serial_base_ctrl_release() or > serial_base_port_release() so these kfrees() are a double free bug. > > Fixes: 84a9582fd203 ("serial: core: Start managing serial controllers to enable runtime PM") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Thanks for catching it: Reviewed-by: Tony Lindgren <tony@xxxxxxxxxxx>