CVE-2025-22097

drm/vkms: Fix use after free and double free on init error

High · published April 16, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
12.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00222 · 12.1th percentile
Published
2025-04-16T14:12Z
EPSS history
Timeline
  • 16 APR 14:12Z
    drm/vkms: Fix use after free and double free on init error
    cvelistv5