5.5medium
gve: Add NULL pointer checks when freeing irqs.
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: gve: Add NULL pointer checks when freeing irqs. When freeing notification blocks, we index priv->msix_vectors. If we failed to allocate priv->msix_vectors (see abort_with_msix_vectors) this could lead to a NULL pointer dereference if the driver is unloaded.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 893ce44df56580fb878ca5af9c4a5fd87567da50 before 821149ee88c206fa37e79c1868cc270518484876, from 893ce44df56580fb878ca5af9c4a5fd87567da50 before da21a35c00ff1a1794d4f166d3b3fa8db4d0f6fb, from 893ce44df56580fb878ca5af9c4a5fd87567da50 before 5278c75266c5094d3c0958793bf12fc90300e580, from 893ce44df56580fb878ca5af9c4a5fd87567da50 before 5218e919c8d06279884aa0baf76778a6817d5b93, 5.3 Not affected: before 5.3, from 5.4.124 up to 5.4.*, from 5.10.42 up to 5.10.*, from 5.12.9 up to 5.12.*, from 5.13 up to * | CVE List |
| linux linux_kernel | from 5.3 before 5.4.124, from 5.5 before 5.10.42, from 5.11 before 5.12.9, 5.13 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: gve: Add NULL pointer checks when freeing irqs. When freeing notification blocks, we index priv->msix_vectors. If we failed to allocate priv->msix_vectors (see abort_with_msix_vectors) this could lead to a NULL pointer dereference if the driver is unloaded.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: gve: agrega comprobaciones de puntero NULL al liberar irqs. Al liberar bloques de notificaciones, indexamos priv->msix_vectors. Si no pudimos asignar priv->msix_vectors (consulte abort_with_msix_vectors), esto podría provocar una desreferencia del puntero NULL si el controlador está descargado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47141 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47141 changed 2026-06-17 | Public domain |