# CVE-2022-50667: drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-12-09T01:29:17.925Z
- Modified: 2026-11-10T12:10:00.177Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()

If the copy of the description string from userspace fails, then the page
for the instance descriptor doesn't get freed before returning -EFAULT,
which leads to a memleak.

(As written by CVE List.)

## Affected

- Linux Linux: from 7a7a933edd6c3a6d5d64e08093f2d564104cefcd before b47a37ad4a444d82f9caf153a79d090b79786ebb; from 7a7a933edd6c3a6d5d64e08093f2d564104cefcd before 6ad40bbb2c25f17b899fcea114ebc0a46d8a938b; from 7a7a933edd6c3a6d5d64e08093f2d564104cefcd before 53066b144715332ce9370143c33c50d9a4d3e809; from 7a7a933edd6c3a6d5d64e08093f2d564104cefcd before a40c7f61d12fbd1e785e59140b9efd57127c0c33; 5.15 (not affected: before 5.15; from 5.15.75 up to 5.15.*; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)

## References

- <https://git.kernel.org/stable/c/b47a37ad4a444d82f9caf153a79d090b79786ebb>
- <https://git.kernel.org/stable/c/6ad40bbb2c25f17b899fcea114ebc0a46d8a938b>
- <https://git.kernel.org/stable/c/53066b144715332ce9370143c33c50d9a4d3e809>
- <https://git.kernel.org/stable/c/a40c7f61d12fbd1e785e59140b9efd57127c0c33>

## Sources

- CVE List: [CVE-2022-50667](https://www.cve.org/CVERecord?id=CVE-2022-50667), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50667](https://nvd.nist.gov/vuln/detail/CVE-2022-50667), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2022-50667 · Whole record: https://cve.day/CVE-2022-50667.json · Rebuilt by cve.day 2026-11-25T22:58:21.313Z
