VULNERABILITY INTELLIGENCE

CVE-2025-39742

CVSS score5.5 MEDIUM
EPSS probability0.18%
CISA KEVNot currently listed
Published2025-09-11
Last modified2026-10-19
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Description

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.

Weakness classification

  • nvd@nist.gov: CWE-369

Primary references