همهٔ گزارش‌ها
متوسط

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

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2025-22097

احتمال بهره‌برداری در ۳۰ روز آینده: 0.23%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

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 flaw was found in the Linux kernel's Virtual Kernel Modesetting (VKMS) driver. If the driver encounters an error during initialization, the exit routine can improperly access and release memory that was not initialized or was already freed. A local privileged user could exploit this vulnerability to trigger memory corruption, potentially leading to a system crash and Denial of Service (DoS).