In the Linux kernel, the following vulnerability has been resolved: net: renesas: rswitch: avoid use-after-put for a device tree node The device tree node saved in the rswitch_device structure is used at several driver locations. So passing this node to of_node_put() after the first use is wrong. Move of_node_put() for this node to exit paths.
https://git.kernel.org/stable/c/bf8c6755f02029d1eddc3ff19b870240f054afc7
https://git.kernel.org/stable/c/92007a28f95413058a7268dc84e5f44b700165d1
https://git.kernel.org/stable/c/66b7e9f85b8459c823b11e9af69dbf4be5eb6be8