CVE-2025-22097 Details
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.
A use-after-free and double-free vulnerability has been identified in the Linux kernel's VKMS (Virtual Kernel Mode Setting) driver. This issue arises when the driver initialization fails, leading the `vkms_exit()` function to access an uninitialized or freed `default_config` pointer, potentially causing a double free. The vulnerability has been addressed by ensuring that `default_config` is only initialized after a successful driver initialization.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux 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 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Apr 25, 2025 | Initial Analysis | [email protected] |
| Apr 25, 2025 | CVE Modified | CISA-ADP |
| Apr 16, 2025 | New CVE Received | kernel.org |