Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
bc407334e9a6a745de5360395282beb2690adf48 to < d9b1407477fb736978b04108073180ca84958936affectedbc407334e9a6a745de5360395282beb2690adf48 to < bd5606e9da1a01a61c7d2f5df36243414a0142beaffectedbc407334e9a6a745de5360395282beb2690adf48 to < 0bde4f140e90f87ebd49cd9c884c4bb3f19fe931affectedbc407334e9a6a745de5360395282beb2690adf48 to < eda08b6bd64f01ca9defbfcc9e0c3e30f46cfc02affectedbc407334e9a6a745de5360395282beb2690adf48 to < d3c1316d84e0a036890b00ae6e4c0b0b80f70c25affectedbc407334e9a6a745de5360395282beb2690adf48 to < 95342d26f9c6b68a46ab57fa48428a3c4a423dd7affectedbc407334e9a6a745de5360395282beb2690adf48 to < 8648e29e5c01b6b677c704049189287e27255ccbaffectedbc407334e9a6a745de5360395282beb2690adf48 to < f9324d670ae0b88cbfb0aa48fcaefa5baeb8da4caffected
Linux Linux
Default version status: affected
3.13affected0 to < 3.13unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/d9b1407477fb736978b04108073180ca84958936 ↗
- https://git.kernel.org/stable/c/bd5606e9da1a01a61c7d2f5df36243414a0142be ↗
- https://git.kernel.org/stable/c/0bde4f140e90f87ebd49cd9c884c4bb3f19fe931 ↗
- https://git.kernel.org/stable/c/eda08b6bd64f01ca9defbfcc9e0c3e30f46cfc02 ↗
- https://git.kernel.org/stable/c/d3c1316d84e0a036890b00ae6e4c0b0b80f70c25 ↗
- https://git.kernel.org/stable/c/95342d26f9c6b68a46ab57fa48428a3c4a423dd7 ↗
- https://git.kernel.org/stable/c/8648e29e5c01b6b677c704049189287e27255ccb ↗
- https://git.kernel.org/stable/c/f9324d670ae0b88cbfb0aa48fcaefa5baeb8da4c ↗