What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: Linux kernel 5.15.180, 6.1.134, 6.12.23, 6.13.11. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-22097 or the next vulnerability affects your stack