6.7medium
There is a flaw reported in the Linux kernel in versions before 5.9 in drivers/gpu/drm/nouveau/nouveausgdma.c in nouveausgdmacreatettm in N…
- Severity
- 6.7medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.85% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
Description
There is a flaw reported in the Linux kernel in versions before 5.9 in drivers/gpu/drm/nouveau/nouveau_sgdma.c in nouveau_sgdma_create_ttm in Nouveau DRM subsystem. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker with a local account with a root privilege, can leverage this vulnerability to escalate privileges and execute code in the context of the kernel.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kernel | Kernel 5.9 | CVE List |
| linux linux_kernel | from 3.3 before 4.9.298, from 4.10 before 4.14.263, from 4.15 before 4.19.140, from 4.20 before 5.4.59, from 5.5 before 5.7.16, from 5.8 before 5.8.2 | NVD |
| fedoraproject fedora | 33 | NVD |
| redhat enterprise_linux | 6.0, 7.0 | NVD |
| debian debian_linux | 9.0 | NVD |
All scores
| NVD | 6.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.2high CVSS:2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
What each source says
CVE List
There is a flaw reported in the Linux kernel in versions before 5.9 in drivers/gpu/drm/nouveau/nouveau_sgdma.c in nouveau_sgdma_create_ttm in Nouveau DRM subsystem. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker with a local account with a root privilege, can leverage this vulnerability to escalate privileges and execute code in the context of the kernel.
NVD (es)
Se presenta un fallo reportado en el kernel de Linux en versiones anteriores a 5.9, en el archivo drivers/gpu/drm/nouveau/nouveau_sgdma.c en la función nouveau_sgdma_create_ttm en el subsistema Nouveau DRM. El problema es debido a una falta de comprobación de la existencia de un objeto antes de llevar a cabo operaciones en el objeto. Un atacante con una cuenta local con privilegios de root puede aprovechar esta vulnerabilidad para escalar privilegios y ejecutar código en el contexto del kernel
References
| https://bugzilla.redhat.com/show_bug.cgi?id=1939686 | issue-tracking, patch, third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2021/06/msg00020.html | mailing-list, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-20292 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-20292 changed 2026-06-17 | Public domain |