regulator: as3722_get_regulator_dt_data: fix premature of_node_put leaving dangling of_node pointer
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f9324d670ae0b88cbfb0aa48fcaefa5baeb8da4c, Kernel 0bde4f140e90f87ebd49cd9c884c4bb3f19fe931, Kernel 8648e29e5c01b6b677c704049189287e27255ccb and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=bc407334e9a6a745de5360395282beb2690adf48 <f9324d670ae0b88cbfb0aa48fcaefa5baeb8da4c, >=bc407334e9a6a745de5360395282beb2690adf48 <0bde4f140e90f87ebd49cd9c884c4bb3f19fe931, >=bc407334e9a6a745de5360395282beb2690adf48 <8648e29e5c01b6b677c704049189287e27255ccb, >=bc407334e9a6a745de5360395282beb2690adf48 <95342d26f9c6b68a46ab57fa48428a3c4a423dd7, >=bc407334e9a6a745de5360395282beb2690adf48 <bd5606e9da1a01a61c7d2f5df36243414a0142be, >=bc407334e9a6a745de5360395282beb2690adf48 <d3c1316d84e0a036890b00ae6e4c0b0b80f70c25, >=bc407334e9a6a745de5360395282beb2690adf48 <d9b1407477fb736978b04108073180ca84958936, >=bc407334e9a6a745de5360395282beb2690adf48 <eda08b6bd64f01ca9defbfcc9e0c3e30f46cfc02, =3.13 | f9324d670ae0b88cbfb0aa48fcaefa5baeb8da4c, 0bde4f140e90f87ebd49cd9c884c4bb3f19fe931, 8648e29e5c01b6b677c704049189287e27255ccb, 95342d26f9c6b68a46ab57fa48428a3c4a423dd7, bd5606e9da1a01a61c7d2f5df36243414a0142be, d3c1316d84e0a036890b00ae6e4c0b0b80f70c25, d9b1407477fb736978b04108073180ca84958936, eda08b6bd64f01ca9defbfcc9e0c3e30f46cfc02 |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.50, >=6.19.0 <7.2.4, >=6.2.0 <6.6.157, >=6.7.0 <6.12.109, >=3.13.0 <5.10.270 | 5.15.221, 6.1.188, 6.18.50, 7.2.4, 6.6.157, 6.12.109, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket