In the Linux kernel, the following vulnerability has been resolved:
RDMA: hfi1: fix possible divide-by-zero in find_hw_thread_mask()
The function divides number of online CPUs by num_core_siblings, and
later checks the divider by zero. This implies a possibility to get
and divide-by-zero runtime error. Fix it by moving the check prior to
division. This also helps to save one indentation level.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
History
No history.
Information
Published : 2025-09-11 17:15
Updated : 2026-01-09 19:09
NVD link : CVE-2025-39742
Mitre link : CVE-2025-39742
CVE.ORG link : CVE-2025-39742
JSON object : View
Products Affected
debian
- debian_linux
linux
- linux_kernel
CWE
CWE-369
Divide By Zero
