Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
regulator: as3722_get_regulator_dt_data: fix premature of_node_put leaving dangling of_node pointer
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.
References
Affected products
Linux
- <8648e29e5c01b6b677c704049189287e27255ccb
- <3.13
- =<7.2.*
- <f9324d670ae0b88cbfb0aa48fcaefa5baeb8da4c
- <95342d26f9c6b68a46ab57fa48428a3c4a423dd7
- =<6.18.*
- ==3.13
- <d3c1316d84e0a036890b00ae6e4c0b0b80f70c25
- =<6.12.*
- =<*