VDB

CVE-2026-45989

CVE-2026-45989 PUBLISHED

of: unittest: fix use-after-free in testdrv_probe()

Reported by linux · Published May 27, 2026

In the Linux kernel, the following vulnerability has been resolved: of: unittest: fix use-after-free in testdrv_probe() The function testdrv_probe() retrieves the device_node from the PCI device, applies an overlay, and then immediately calls of_node_put(dn). This releases the reference held by the PCI core, potentially freeing the node if the reference count drops to zero. Later, the same freed pointer 'dn' is passed to of_platform_default_populate(), leading to a use-after-free. The reference to pdev->dev.of_node is owned by the device model and should not be released by the driver. Remove the erroneous of_node_put() to prevent premature freeing.

EPSS 0.16% · 5.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18-toolsAmazon Linux1:6.18.30-61.116.amzn2023

Risk scores

EPSS Score
0.16%
5.6th percentile

Affected products

VendorProductVersions
LinuxLinux26409dd045892904b059dc411403e9c8ce7543ca, 26409dd045892904b059dc411403e9c8ce7543ca, 26409dd045892904b059dc411403e9c8ce7543ca
LinuxLinux6.6, 0, 6.6.140
amazon:2023kernel6.18-tools0
linuxlinux_kernel6.6, 6.6, 6.6
amazon:2023kernel6.12-tools0
LinuxLinux6.6.140, 0, 6.6
amazon:2023kernel6.180
amazon:2023kernel6.12-headers0
amazon:2023kernel-livepatch-6.18.30-61.1160
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-devel0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-livepatch-6.12.88-119.1570
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool6.120
amazon:2023python3-perf6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-tools-devel0

…and 6 more

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (17 in total, the first dated here)
  • May 29, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-45989
vulnetix vdb fixes CVE-2026-45989

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45989/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›