CVE-2025-22097: Linux Kernel

High severity, CVSS 7.8. EPSS: 0.2% chance of exploitation in the next 30 days.

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

  • Linux Linux Kernel: from 5.12, before 5.15.180 (fixed in 5.15.180); from 5.16, before 6.1.134 (fixed in 6.1.134); from 6.2, before 6.6.87 (fixed in 6.6.87); from 6.7, before 6.12.23 (fixed in 6.12.23); from 6.13, before 6.13.11 (fixed in 6.13.11); from 6.14, before 6.14.2 (fixed in 6.14.2)

Published 2025-04-16. Last modified 2026-06-17.