In the Linux kernel, the following vulnerability has been resolved: regulator: as3722_get_regulator_dt_data: fix premature of_node_put leaving dangling of_node pointer In as3722_get_regulator_dt_data(), of_get_child_by_name() acquires a reference on np, which is then assigned to pdev->dev.of_node. The function immediately calls of_node_put(np), releasing the reference and leaving pdev->dev.of_node as a dangling pointer. Remove the of_node_put(np) call to let the device hold the reference.
https://git.kernel.org/stable/c/f9324d670ae0b88cbfb0aa48fcaefa5baeb8da4c
https://git.kernel.org/stable/c/d3c1316d84e0a036890b00ae6e4c0b0b80f70c25
https://git.kernel.org/stable/c/95342d26f9c6b68a46ab57fa48428a3c4a423dd7
https://git.kernel.org/stable/c/8648e29e5c01b6b677c704049189287e27255ccb