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.

Affected products

245

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

7

News mentions

0

No linked articles in our index yet.