VYPR
Unrated severityNVD Advisory· Published Apr 16, 2025· Updated Nov 3, 2025

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

CVE-2025-22097

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

245

Patches

Vulnerability mechanics

References

7

News mentions

0

No linked articles in our index yet.