Vulnerabilities · 2025 · Linux
CVE-2025-22097
Linux Kernel vulnerability
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 Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/1f68f1cf09d06061eb549726ff8339e064eddebd · Patch
- git.kernel.org/stable/c/49a69f67f53518bdd9b7eeebf019a2da6cc0e954 · Patch
- git.kernel.org/stable/c/561fc0c5cf41f646f3e9e61784cbc0fc832fb936 · Patch
- git.kernel.org/stable/c/79d138d137b80eeb0a83244d1cff29e64cf91067 · Patch
- git.kernel.org/stable/c/b8a18bb53e06d6d3c1fd03d12533d6e333ba8853 · Patch
- git.kernel.org/stable/c/d5eb8e347905ab17788a7903fa1d3d06747355f5 · Patch
- git.kernel.org/stable/c/ed15511a773df86205bda66c37193569575ae828 · Patch
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html
- nvd.nist.gov/vuln/detail/CVE-2025-22097
- cve.org/CVERecord?id=CVE-2025-22097
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.