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/

Package Linux Kernel
Published 2025-12-30
Last modified 2026-04-15
Patch available
Yes

Affected versions

Linux kernel versions 5.17 and later are affected. Fixed in 6.0.7, 6.1 and their respective stable series.

Affected from
≥ 5.17
Fixed in
✓ 6.0.7 6.0.x ✓ 6.1

References

The following references provide additional information about CVE-2022-50867 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.

Frequently asked questions

  • What is CVE-2022-50867?

    CVE-2022-50867 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.17 onward and has been patched in 6.0.7 and 6.1. CVE-2022-50867 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2022-50867?

    Yes — CVE-2022-50867 has been patched. Fixed versions include 6.0.7 and 6.1. If you are running Linux kernel 5.17 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2022-50867 actively exploited?

    No — CVE-2022-50867 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.