{"id":"CVE-2026-89504","state":"PUBLISHED","title":"regulator: as3722_get_regulator_dt_data: fix premature of_node_put leaving dangling of_node pointer","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: as3722_get_regulator_dt_data: fix premature of_node_put leaving dangling of_node pointer\n\nIn as3722_get_regulator_dt_data(), of_get_child_by_name() acquires a\nreference on np, which is then assigned to pdev->dev.of_node. The\nfunction immediately calls of_node_put(np), releasing the reference and\nleaving pdev->dev.of_node as a dangling pointer.\n\nRemove the of_node_put(np) call to let the device hold the reference.","publishedAt":"2026-09-11T19:43:52.024Z","updatedAt":"2026-10-19T08:47:55.766Z","severity":{"score":8.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"d9b1407477fb736978b04108073180ca84958936","versionType":"git"},{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"bd5606e9da1a01a61c7d2f5df36243414a0142be","versionType":"git"},{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"0bde4f140e90f87ebd49cd9c884c4bb3f19fe931","versionType":"git"},{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"eda08b6bd64f01ca9defbfcc9e0c3e30f46cfc02","versionType":"git"},{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"d3c1316d84e0a036890b00ae6e4c0b0b80f70c25","versionType":"git"},{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"95342d26f9c6b68a46ab57fa48428a3c4a423dd7","versionType":"git"},{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"8648e29e5c01b6b677c704049189287e27255ccb","versionType":"git"},{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"f9324d670ae0b88cbfb0aa48fcaefa5baeb8da4c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/regulator/as3722-regulator.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.13","versionType":"semver"},{"version":"5.10.270","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.109","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/regulator/as3722-regulator.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89504.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89504","state":"PUBLISHED","datePublished":"2026-09-11T19:43:52.024Z","dateUpdated":"2026-10-19T08:47:55.766Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.715Z"},"containers":{"cna":{"title":"regulator: as3722_get_regulator_dt_data: fix premature of_node_put leaving dangling of_node pointer","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: as3722_get_regulator_dt_data: fix premature of_node_put leaving dangling of_node pointer\n\nIn as3722_get_regulator_dt_data(), of_get_child_by_name() acquires a\nreference on np, which is then assigned to pdev->dev.of_node. The\nfunction immediately calls of_node_put(np), releasing the reference and\nleaving pdev->dev.of_node as a dangling pointer.\n\nRemove the of_node_put(np) call to let the device hold the reference."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"d9b1407477fb736978b04108073180ca84958936","versionType":"git"},{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"bd5606e9da1a01a61c7d2f5df36243414a0142be","versionType":"git"},{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"0bde4f140e90f87ebd49cd9c884c4bb3f19fe931","versionType":"git"},{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"eda08b6bd64f01ca9defbfcc9e0c3e30f46cfc02","versionType":"git"},{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"d3c1316d84e0a036890b00ae6e4c0b0b80f70c25","versionType":"git"},{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"95342d26f9c6b68a46ab57fa48428a3c4a423dd7","versionType":"git"},{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"8648e29e5c01b6b677c704049189287e27255ccb","versionType":"git"},{"version":"bc407334e9a6a745de5360395282beb2690adf48","status":"affected","lessThan":"f9324d670ae0b88cbfb0aa48fcaefa5baeb8da4c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/regulator/as3722-regulator.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.13","versionType":"semver"},{"version":"5.10.270","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.109","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.50","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.4","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/regulator/as3722-regulator.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d9b1407477fb736978b04108073180ca84958936"},{"url":"https://git.kernel.org/stable/c/bd5606e9da1a01a61c7d2f5df36243414a0142be"},{"url":"https://git.kernel.org/stable/c/0bde4f140e90f87ebd49cd9c884c4bb3f19fe931"},{"url":"https://git.kernel.org/stable/c/eda08b6bd64f01ca9defbfcc9e0c3e30f46cfc02"},{"url":"https://git.kernel.org/stable/c/d3c1316d84e0a036890b00ae6e4c0b0b80f70c25"},{"url":"https://git.kernel.org/stable/c/95342d26f9c6b68a46ab57fa48428a3c4a423dd7"},{"url":"https://git.kernel.org/stable/c/8648e29e5c01b6b677c704049189287e27255ccb"},{"url":"https://git.kernel.org/stable/c/f9324d670ae0b88cbfb0aa48fcaefa5baeb8da4c"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.4,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The dangling of_node is created only on the local as3722-regulator platform probe path (I2C MFD as3722_i2c_probe → mfd_add_devices → as3722_regulator_probe → as3722_get_regulator_dt_data); the onboard AMS AS3722 PMIC is not reached via network packets, Bluetooth, or USB enumeration.\nAC:L - On affected Tegra boards the required regulators DT child exists, so of_get_child_by_name() then the premature of_node_put() runs deterministically at every probe with no race; with OF_OVERLAY (arm64 defconfig) the node can be freed while the device still holds the pointer.\nPR:N - tegra_defconfig builds MFD_AS3722 and REGULATOR_AS3722 in, so the vulnerable probe runs automatically at boot on Chromebooks (nyan), Jetson TK1, Toradex Apalis, and similar embedded systems with no capability check; an attacker only needs to power-cycle a shared kiosk or device.\nUI:N - Driver initialization and the of_node_put() run unattended during kernel boot on affected hardware; no victim action such as mounting a filesystem, opening a device, or plugging in USB is required.\nS:U - The use-after-free corrupts kernel device_node/kobject memory on the host; AS3722 is a board PMIC regulator driver and does not cross a VM, IOMMU, or other security-authority boundary.\nC:H - The premature of_node_put() leaves pdev->dev.of_node dangling; a later put on device release or DT overlay teardown can free the device_node while the driver and OF core still use it, enabling reads of reallocated slab memory.\nI:H - Use-after-free of the device_node heap object (kobject, fwnode, property and parent/child links) can be turned into an arbitrary write and control-flow hijack via heap reuse, matching scoring guidance that UAF is Integrity High.\nA:H - Dereferencing the dangling of_node during regulator registration, sysfs, overlay removal, or platform_device_release() can oops or panic the kernel, including at boot on systems where AS3722 supplies CPU and core rails."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T08:47:55.766Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"5.10.270"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"5.15.221"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.1.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.12.109"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"6.18.50"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"7.2.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}