CVE-2021-47080
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47080 affects the Linux kernel's RDMA/core component. The vulnerability was discovered in the handling of user-supplied entry sizes in the GID table query functionality. When a user supplies a zero value for user_entry_size, it can trigger a divide-by-zero error in the ib_uverbs_handler_UVERBS_METHOD_QUERY_GID_TABLE function (NVD, Kernel Patch).

Technical details

The vulnerability exists in the RDMA/core subsystem where the user_entry_size parameter, supplied by the user, is used as a denominator to calculate the number of entries. When a zero value is provided, it leads to a divide-by-zero error in the kernel. The issue affects Linux kernel versions from 5.10 up to (excluding) 5.10.40, from 5.11 up to (excluding) 5.12.7, and versions 5.13-rc1 and 5.13-rc2. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When successfully exploited, this vulnerability can cause a kernel crash through a divide-by-zero error, resulting in a denial of service condition. The impact is limited to availability, with no direct impact on confidentiality or integrity of the system (NVD).

Exploitability

The vulnerability requires local access and can be triggered through the ioctl system call when interacting with the RDMA/uverbs interface. An attacker needs local access to the system and sufficient privileges to interact with the RDMA subsystem (NVD).

Mitigation and workarounds

The vulnerability has been fixed by adding a check for zero value of user_entry_size before using it as a denominator. The fix returns -EINVAL when a zero value is detected. Users should upgrade to Linux kernel versions 5.10.40, 5.12.7 or later that include the security fix (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64597CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux-aws-5.4
NoYesAug 06, 2026
CVE-2026-68480HIGH8.8
  • Linux Kernel logoLinux Kernel
  • kernel-modules-partner
NoYesAug 06, 2026
CVE-2026-64598HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.8
NoYesAug 06, 2026
CVE-2026-64604HIGH7.7
  • Linux Kernel logoLinux Kernel
  • linux-riscv-5.15
NoYesAug 06, 2026
CVE-2026-64603NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg-5.15
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management