Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e644828 authored by Wen Yang's avatar Wen Yang Committed by Kishon Vijay Abraham I
Browse files

phy: ti: am654-serdes: fix an use-after-free in serdes_am654_clk_register()



The regmap_node variable is still being used in the syscon_node_to_regmap()
call after the of_node_put() call, which may result in use-after-free.

Fixes: 71e2f5c5 ("phy: ti: Add a new SERDES driver for TI's AM654x SoC")
Signed-off-by: default avatarWen Yang <wen.yang99@zte.com.cn>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Roger Quadros <rogerq@ti.com>
Reviewed-by: default avatarRoger Quadros <rogerq@ti.com>
Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
parent cacc9539
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment