PoC Monitor
← All CVEs
CVE-2025-22097published 16 Apr 2025 14:12 UTCData: JSON · API

Linux

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CISA ADP · CWE-416
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < 49a69f67f53518bdd9b7eeebf019a2da6cc0e954
  • >= 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < 79d138d137b80eeb0a83244d1cff29e64cf91067
  • >= 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < 561fc0c5cf41f646f3e9e61784cbc0fc832fb936
  • >= 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < d5eb8e347905ab17788a7903fa1d3d06747355f5
  • >= 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < b8a18bb53e06d6d3c1fd03d12533d6e333ba8853
  • >= 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < 1f68f1cf09d06061eb549726ff8339e064eddebd
  • >= 2df7af93fdadb9ba8226fe443fae15ecdefda2a6, < ed15511a773df86205bda66c37193569575ae828

Fixed in 49a69f67f53518bdd9b7eeebf019a2da6cc0e954, 79d138d137b80eeb0a83244d1cff29e64cf91067, 561fc0c5cf41f646f3e9e61784cbc0fc832fb936, d5eb8e347905ab17788a7903fa1d3d06747355f5, b8a18bb53e06d6d3c1fd03d12533d6e333ba8853, 1f68f1cf09d06061eb549726ff8339e064eddebd, ed15511a773df86205bda66c37193569575ae828

Linux Linux
  • 5.12

Fixed in 0, 5.15.180, 6.1.134, 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15

Mitigation

Upgrade Linux to 49a69f67f53518bdd9b7eeebf019a2da6cc0e954 or 79d138d137b80eeb0a83244d1cff29e64cf91067 or 561fc0c5cf41f646f3e9e61784cbc0fc832fb936 or d5eb8e347905ab17788a7903fa1d3d06747355f5 or b8a18bb53e06d6d3c1fd03d12533d6e333ba8853 or 1f68f1cf09d06061eb549726ff8339e064eddebd or ed15511a773df86205bda66c37193569575ae828 or later.

Upgrade Linux to 0 or 5.15.180 or 6.1.134 or 6.6.87 or 6.12.23 or 6.13.11 or 6.14.2 or 6.15 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published16 Apr 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.