Vulnerability in Linux
CVE-2022-50867
In the Linux kernel, the following vulnerability has been resolved: drm/msm/a6xx: Fix kvzalloc vs state_kcalloc usage adreno_show_object() is a trap! It will re-allocate the pointer it is passed on first call, when the data is ascii85 encoded, using kvmalloc/ kvfree(). Which means the data *passed* to it must be kvmalloc'd, ie. we cannot use the state_kcalloc() helper. This partially reverts commit ec8f1813bf8d ("drm/msm/a6xx: Replace kcalloc() with kvzalloc()"), but adds the missing kvfree() to fix the memory leak that was present previously. And adds a warning comment. Patchwork: https://patchwork.freedesktop.org/patch/507014/
EPSS: 0.002 (5.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions b859f9b009bbfbc236d9b076c64c59ccb41b8737, 5.17, 0
References
Frequently asked questions
- What is CVE-2022-50867?
- CVE-2022-50867 is a high-severity vulnerability in Linux. CVSS score: 7.8/10. Published 2025-12-30.
- How severe is CVE-2022-50867?
- High severity. CVSS v3 base score is 7.8 out of 10.