{"id":"CVE-2025-22097","published":"2025-04-16T14:12:47Z","modified":"2026-05-11T21:12:54Z","title":"drm/vkms: Fix use after free and double free on init error","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vkms: Fix use after free and double free on init error\n\nIf the driver initialization fails, the vkms_exit() function might\naccess an uninitialized or freed default_config pointer and it might\ndouble free it.\n\nFix both possible errors by initializing default_config only when the\ndriver initialization succeeded.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00226,"percentile":0.13622,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/49a69f67f53518bdd9b7eeebf019a2da6cc0e954","tags":[]},{"url":"https://git.kernel.org/stable/c/79d138d137b80eeb0a83244d1cff29e64cf91067","tags":[]},{"url":"https://git.kernel.org/stable/c/561fc0c5cf41f646f3e9e61784cbc0fc832fb936","tags":[]},{"url":"https://git.kernel.org/stable/c/d5eb8e347905ab17788a7903fa1d3d06747355f5","tags":[]},{"url":"https://git.kernel.org/stable/c/b8a18bb53e06d6d3c1fd03d12533d6e333ba8853","tags":[]},{"url":"https://git.kernel.org/stable/c/1f68f1cf09d06061eb549726ff8339e064eddebd","tags":[]},{"url":"https://git.kernel.org/stable/c/ed15511a773df86205bda66c37193569575ae828","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":2.72},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < 49a69f67f53518bdd9b7eeebf019a2da6cc0e954",">= 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < 79d138d137b80eeb0a83244d1cff29e64cf91067",">= 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < 561fc0c5cf41f646f3e9e61784cbc0fc832fb936",">= 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < d5eb8e347905ab17788a7903fa1d3d06747355f5",">= 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < b8a18bb53e06d6d3c1fd03d12533d6e333ba8853",">= 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < 1f68f1cf09d06061eb549726ff8339e064eddebd",">= 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < ed15511a773df86205bda66c37193569575ae828"]},{"vendor":"Linux","product":"Linux","versions":["5.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-25T14:30:06.841533Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-11205","exploited":false,"provenance":"source"}}