Vulnerability details
CVE-2022-50867
Linux Linux
drm/msm/a6xx: Fix kvzalloc vs state_kcalloc usage
CVSS 3.1
7.8High
Official 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/
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 7.8High | 3.1 | CVEProject cvelistV5 (CNA) (Linux) | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| Linux | Linux | 5.17 | CVEProject cvelistV5 (CNA) |
| Linux | Linux | b859f9b009bbfbc236d9b076c64c59ccb41b8737 ≤ v < 4b1bbc0571a5d7ee10f754186dc3d619b9ced5c1 | CVEProject cvelistV5 (CNA) |
| Linux | Linux | b859f9b009bbfbc236d9b076c64c59ccb41b8737 ≤ v < 83d18e9d9c0150d98dc24e3642ea93f5e245322c | CVEProject cvelistV5 (CNA) |
References and advisories
2
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2025-12-30
- Last updated
- 2026-08-05
- State
- Published
- Assigner (CNA)
- Linux
Exploit prediction (EPSS)
0.14%
Probability of exploitation in 30 days
3.7%
Percentile (among all CVEs)
Weaknesses (CWE)
- —