CVE-2022-50867

CVE-2022-50867

High · published December 30, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
3.4
In the wild
Unconfirmed
What it is

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/

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00145 · 3.4th percentile
Published
2025-12-30T18:16Z
References (2)
EPSS history
Timeline
  • 30 DEC 12:15Z
    drm/msm/a6xx: Fix kvzalloc vs state_kcalloc usage
    cvelistv5