CVE-2022-50867
Last modified
CVE-2022-50867 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
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/
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= b859f9b009bbfbc236d9b076c64c59ccb41b8737, < 4b1bbc0571a5d7ee10f754186dc3d619b9ced5c1; >= b859f9b009bbfbc236d9b076c64c59ccb41b8737, < 83d18e9d9c0150d98dc24e3642ea93f5e245322c |
| Linux | Linux | 5.17 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2022-50867?
How severe is CVE-2022-50867?
How do I fix CVE-2022-50867?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-50861In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2022-50862In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50863In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50864In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50865In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2022-50866In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50868In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50869In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50870In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50871In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50872In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50873In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2022-50867?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
