7.8

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

Analyzed
AliasesUBUNTU-CVE-2026-45989DEBIAN-CVE-2026-45989
Published 27-05-2026Last modified 14-06-2026

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.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.16%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 21 · Related 21

Timeline

  1. 27-05-2026
    PublishedVulnerability first disclosed.
  2. 14-06-2026
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

References

30 links
Show all 30 references