Division by zero in Linux kernel - CVE-2021-47080
Published: June 8, 2024 / Updated: May 13, 2025
Vulnerability identifier: #VU91380
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-47080
CWE-ID: CWE-369
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to a division by zero error within the UVERBS_HANDLER() function in drivers/infiniband/core/uverbs_std_types_device.c. A local user can perform a denial of service (DoS) attack.
Affected software
Linux kernel
How to mitigate CVE-2021-47080
Install update from vendor's website.
Linux kernel - addressed in versions 5.10.40, 5.12.7, 5.13
External References
- https://git.kernel.org/stable/c/66ab7fcdac34b890017f04f391507ef5b2b89a13
- https://git.kernel.org/stable/c/e6871b4270c05f8b212e7d98aee82b357972c80a
- https://git.kernel.org/stable/c/54d87913f147a983589923c7f651f97de9af5be1
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.40
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.12.7
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.13