regulator: as3722_get_regulator_dt_data: fix premature of_node_put leaving dangling of_node pointer
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From bc407334e9a6a745de5360395282beb2690adf48 · fixed in d9b1407477fb736978b04108073180ca84958936; From bc407334e9a6a745de5360395282beb2690adf48 · fixed in bd5606e9da1a01a61c7d2f5df36243414a0142be; From bc407334e9a6a745de5360395282beb2690adf48 · fixed in 0bde4f140e90f87ebd49cd9c884c4bb3f19fe931; From bc407334e9a6a745de5360395282beb2690adf48 · fixed in eda08b6bd64f01ca9defbfcc9e0c3e30f46cfc02; From bc407334e9a6a745de5360395282beb2690adf48 · fixed in d3c1316d84e0a036890b00ae6e4c0b0b80f70c25; From bc407334e9a6a745de5360395282beb2690adf48 · fixed in 95342d26f9c6b68a46ab57fa48428a3c4a423dd7; From bc407334e9a6a745de5360395282beb2690adf48 · fixed in 8648e29e5c01b6b677c704049189287e27255ccb; From bc407334e9a6a745de5360395282beb2690adf48 · fixed in f9324d670ae0b88cbfb0aa48fcaefa5baeb8da4c
- Linux Linux
3.13
- KernelLinux
From 3.13.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4
References 8
git.kernel.org
- stable/c/d9b1407477fb736978b04108073180ca84958936
- stable/c/bd5606e9da1a01a61c7d2f5df36243414a0142be
- stable/c/0bde4f140e90f87ebd49cd9c884c4bb3f19fe931
- stable/c/eda08b6bd64f01ca9defbfcc9e0c3e30f46cfc02
- stable/c/d3c1316d84e0a036890b00ae6e4c0b0b80f70c25
- stable/c/95342d26f9c6b68a46ab57fa48428a3c4a423dd7
- stable/c/8648e29e5c01b6b677c704049189287e27255ccb
- stable/c/f9324d670ae0b88cbfb0aa48fcaefa5baeb8da4c