{"id":"CVE-2026-45989","published":"2026-05-27T12:55:41Z","modified":"2026-06-14T17:46:43Z","title":"of: unittest: fix use-after-free in testdrv_probe()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nof: unittest: fix use-after-free in testdrv_probe()\n\nThe function testdrv_probe() retrieves the device_node from the PCI\ndevice, applies an overlay, and then immediately calls of_node_put(dn).\nThis releases the reference held by the PCI core, potentially freeing\nthe node if the reference count drops to zero. Later, the same freed\npointer 'dn' is passed to of_platform_default_populate(), leading to a\nuse-after-free.\n\nThe reference to pdev->dev.of_node is owned by the device model and\nshould not be released by the driver. Remove the erroneous of_node_put()\nto prevent premature freeing.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00163,"percentile":0.05464,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/0ba03e06f037df704d9b032e36d417633e2326bc","tags":[]},{"url":"https://git.kernel.org/stable/c/d68347b07b9801791c9eaab8f772770b52b8cd5c","tags":[]},{"url":"https://git.kernel.org/stable/c/5b6122a67a295f8a08b7c18d908a1bd974dfaec8","tags":[]},{"url":"https://git.kernel.org/stable/c/6b2023286d2c6ed3bf964fb92e34c9c14d42eb69","tags":[]},{"url":"https://git.kernel.org/stable/c/07fd339b2c253205794bea5d9b4b7548a4546c56","tags":[]}],"priority":{"score":1.1,"factors":[{"name":"EPSS percentile","points":1.09}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 26409dd045892904b059dc411403e9c8ce7543ca, < 0ba03e06f037df704d9b032e36d417633e2326bc",">= 26409dd045892904b059dc411403e9c8ce7543ca, < d68347b07b9801791c9eaab8f772770b52b8cd5c",">= 26409dd045892904b059dc411403e9c8ce7543ca, < 5b6122a67a295f8a08b7c18d908a1bd974dfaec8",">= 26409dd045892904b059dc411403e9c8ce7543ca, < 6b2023286d2c6ed3bf964fb92e34c9c14d42eb69",">= 26409dd045892904b059dc411403e9c8ce7543ca, < 07fd339b2c253205794bea5d9b4b7548a4546c56"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"euvd":{"id":"EUVD-2026-32285","exploited":false,"provenance":"source"}}