CVE-2022-50867

Linux Kernel 5.17-6.0.6 - Memory Leak in adreno_show_object

Title source: llm
STIX 2.1

Description

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/

Scores

EPSS 0.0016
EPSS Percentile 5.9%

Details

Status published
Products (7)
linux/Kernel 5.17.0 - 6.0.7linux
Linux/Linux < 5.17
Linux/Linux 5.17
Linux/Linux 6.0.7 - 6.0.*
Linux/Linux 6.1
Linux/Linux b859f9b009bbfbc236d9b076c64c59ccb41b8737 - 4b1bbc0571a5d7ee10f754186dc3d619b9ced5c1
Linux/Linux b859f9b009bbfbc236d9b076c64c59ccb41b8737 - 83d18e9d9c0150d98dc24e3642ea93f5e245322c
Published Dec 30, 2025
Tracked Since Feb 18, 2026