CVE-2022-50867
published high CVSS 3.1 · 7.8drm/msm/a6xx: Fix kvzalloc vs state_kcalloc usage
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb859f9b009bbfbc236d9b076c64c59ccb41b8737 to < 4b1bbc0571a5d7ee10f754186dc3d619b9ced5c1 · b859f9b009bbfbc236d9b076c64c59ccb41b8737 to < 83d18e9d9c0150d98dc24e3642ea93f5e245322c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.17 (affected) · 0 to < 5.17 (unaffected · semver) · 6.0.7 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
Show 61 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.133.1.150500.6.65.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.133.1.150500.6.65.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.133.1.150500.6.65.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_133-defaultppc64le | Advisory build | 1-150500.11.3.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_133-defaults390x | Advisory build | 1-150500.11.3.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_133-defaultx86_64 | Advisory build | 1-150500.11.3.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-builds390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-sourcenoarch | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symss390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-zfcpdumps390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.133.1.150500.6.65.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.133.1.150500.6.65.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-devel-rtnoarch | Advisory build | 5.14.21-150500.13.118.1 | SUSE-SU-2026:0263-1 |
| SUSE / openSUSE | SLE-5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-rtx86_64 | Advisory build | 5.14.21-150500.13.118.1 | SUSE-SU-2026:0263-1 |
| SUSE / openSUSE | SLE-5 | kernel-source-rtnoarch | Advisory build | 5.14.21-150500.13.118.1 | SUSE-SU-2026:0263-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/
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable show/encode path is reached after a local GPU hang or iova fault captures crash state via msm_gpu_crashstate_capture(); an unprivileged process triggers that through DRM render-node submits (MSM_GEM_SUBMIT). There is no network or adjacent-packet path into a6xx_show/adreno_show_object. AC:L - An attacker fully controls both sides: submit work that hangs or faults the a6xx GPU, then rely on the deterministic ascii85 reallocation in adreno_show_object() when the dump is read. No race or attacker-uncontrollable memory-layout precondition is required. PR:L - Unprivileged users can open /dev/dri/renderD* and hang the GPU. On the primary msm deployments (ChromeOS/Android), crash_reporter/udev_collector automatically reads /sys/class/devcoredump/devcdN/data for the adreno driver, invoking the bad kvfree without the attacker needing root. Choosing the higher-severity PR:L over PR:H for that reasonable scenario. UI:N - The attacker submits the hanging GPU work themselves, and automatic device-coredump collection invokes a6xx_show without any separate victim mount/open/interactive action. S:U - The invalid free corrupts host kernel allocator state within the same OS security authority; this is a local privilege-escalation class bug, not a VM escape, IOMMU bypass, or other cross-boundary impact. C:H - adreno_show_object() kvfree()s an interior pointer into a state_kcalloc() memobj (past list_head), corrupting kvmalloc/SLUB freelist metadata; that heap corruption can be leveraged for arbitrary kernel memory disclosure, matching kernel CVSS guidance for memory-corruption bugs. I:H - The same interior-pointer free (and subsequent double-free of the memobj on a6xx_gpu_state_destroy) corrupts heap freelists and adjacent objects, enabling reuse and write/control-flow hijacking primitives rather than a benign bounded fault. A:H - The gitlab issue closed by the fix reports that reading the devcoredump triggers memory corruption; invalid free/double-free produce kernel oops/panic, which is Availability High under kernel CVSS guidance.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b859f9b009bbfbc236d9b076c64c59ccb41b8737 to < 4b1bbc0571a5d7ee10f754186dc3d619b9ced5c1 (affected · git)b859f9b009bbfbc236d9b076c64c59ccb41b8737 to < 83d18e9d9c0150d98dc24e3642ea93f5e245322c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.17 (affected)0 to < 5.17 (unaffected · semver)6.0.7 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
drm/msm/a6xx: Fix kvzalloc vs state_kcalloc usage
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ec8bd11cd17c57fb20513f3c5599629b302d53e72af983b257f37cb0dd415a4a
- Ingested
- 23 Sep 2026, 08:04:58 UTC
- Source record
- Official CVE record