CVEvulnerability
CVE-2021-47141
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-03-25
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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 configurations
• linux linux kernel (>= 5.3 < 5.4.124)
• linux linux kernel (>= 5.5 < 5.10.42)
• linux linux kernel (>= 5.11 < 5.12.9)
• linux linux kernel 5.13
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/5218e919c8d06279884aa0baf76778a6817d5b93 Patch
- https://git.kernel.org/stable/c/5278c75266c5094d3c0958793bf12fc90300e580 Patch
- https://git.kernel.org/stable/c/821149ee88c206fa37e79c1868cc270518484876 Patch
- https://git.kernel.org/stable/c/da21a35c00ff1a1794d4f166d3b3fa8db4d0f6fb Patch
- https://git.kernel.org/stable/c/5218e919c8d06279884aa0baf76778a6817d5b93 Patch
- https://git.kernel.org/stable/c/5278c75266c5094d3c0958793bf12fc90300e580 Patch
- https://git.kernel.org/stable/c/821149ee88c206fa37e79c1868cc270518484876 Patch
- https://git.kernel.org/stable/c/da21a35c00ff1a1794d4f166d3b3fa8db4d0f6fb Patch