{"id":"CVE-2022-50667","summary":"drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()\n\nIf the copy of the description string from userspace fails, then the page\nfor the instance descriptor doesn't get freed before returning -EFAULT,\nwhich leads to a memleak.","modified":"2026-03-20T11:47:34.588494Z","published":"2025-12-09T01:29:17.925Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50667.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/53066b144715332ce9370143c33c50d9a4d3e809"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ad40bbb2c25f17b899fcea114ebc0a46d8a938b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a40c7f61d12fbd1e785e59140b9efd57127c0c33"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b47a37ad4a444d82f9caf153a79d090b79786ebb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50667.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50667"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7a7a933edd6c3a6d5d64e08093f2d564104cefcd"},{"fixed":"b47a37ad4a444d82f9caf153a79d090b79786ebb"},{"fixed":"6ad40bbb2c25f17b899fcea114ebc0a46d8a938b"},{"fixed":"53066b144715332ce9370143c33c50d9a4d3e809"},{"fixed":"a40c7f61d12fbd1e785e59140b9efd57127c0c33"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50667.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.19.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.20.0"},{"fixed":"6.0.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50667.json"}}],"schema_version":"1.7.5"}