7.8

CVE-2025-22097: drm/vkms: Fix use after free and double free on init error

Modified
AliasesUBUNTU-CVE-2025-22097DEBIAN-CVE-2025-22097
Published 16-04-2025Last modified 11-05-2026

Vulnerability summary

CVE-2025-22097 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 12.8% 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 (CVE.org)
EPSS score
0.22%
0%100%
Low · 0.00 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 61 · Related 45

Timeline

  1. 16-04-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: drm/vkms: Fix use after free and double free on init error If the driver initialization fails, the vkms_exit() function might access an uninitialized or freed default_config pointer and it might double free it. Fix both possible errors by initializing default_config only when the driver initialization succeeded.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.22%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.22% 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.

Ubuntu125 products
  • linux< 5.15.0-142.152 | < 6.8.0-86.87
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.15.0-1086.93 | < 6.8.0-1041.43
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < 49a69f67f53518bdd9b7eeebf019a2da6cc0e954 | ≥ 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < 79d138d137b80eeb0a83244d1cff29e64cf91067 | ≥ 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < 561fc0c5cf41f646f3e9e61784cbc0fc832fb936 | ≥ 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < d5eb8e347905ab17788a7903fa1d3d06747355f5 | ≥ 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < b8a18bb53e06d6d3c1fd03d12533d6e333ba8853 | ≥ 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < 1f68f1cf09d06061eb549726ff8339e064eddebd | ≥ 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < ed15511a773df86205bda66c37193569575ae828 | 5.12
  • linux_kernel≥ 5.12, < 5.15.180 | ≥ 5.16, < 6.1.134 | ≥ 6.2, < 6.6.87 | ≥ 6.7, < 6.12.23 | ≥ 6.13, < 6.13.11 | ≥ 6.14, < 6.14.2
Debian1 product
  • linux< 6.1.135-1 | < 6.12.25-1

3 vendors · 128 products

References

43 links
Show all 43 references