CVE-2026-45989: of: unittest: fix use-after-free in testdrv_probe()
Vulnerability summary
CVE-2026-45989 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.5% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 21 · Related 21Timeline
- 27-05-2026PublishedVulnerability first disclosed.
- 14-06-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.17% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu132 products
- linux< 6.8.0-136.136 | All versions (No fix recorded) | < 7.0.0-27.27
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1061.64 | All versions (No fix recorded) | < 7.0.0-1008.8
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 26409dd045892904b059dc411403e9c8ce7543ca, < 0ba03e06f037df704d9b032e36d417633e2326bc | ≥ 26409dd045892904b059dc411403e9c8ce7543ca, < d68347b07b9801791c9eaab8f772770b52b8cd5c | ≥ 26409dd045892904b059dc411403e9c8ce7543ca, < 5b6122a67a295f8a08b7c18d908a1bd974dfaec8 | ≥ 26409dd045892904b059dc411403e9c8ce7543ca, < 6b2023286d2c6ed3bf964fb92e34c9c14d42eb69 | ≥ 26409dd045892904b059dc411403e9c8ce7543ca, < 07fd339b2c253205794bea5d9b4b7548a4546c56 | 6.6
- linux_kernel≥ 6.6, < 6.6.140 | ≥ 6.7, < 6.12.86 | ≥ 6.13, < 6.18.27 | ≥ 6.19, < 7.0.4
Debian1 product
- linux< 6.12.86-1 | < 7.0.4-1
3 vendors · 135 products