CVE-2025-39742CWE-369

CVE-2025-39742

Medium · published September 11, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
6.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00176 · 6.7th percentile
Weakness
CWE-369 · Divide By Zero
Published
2025-09-11T21:15Z
Affected products (9)
ProductVersionsFixed in
linux/linux_kernel≥ 4.8, < 5.4.2975.4.297
linux/linux_kernel≥ 5.5, < 5.10.2415.10.241
linux/linux_kernel≥ 5.11, < 5.15.1905.15.190
linux/linux_kernel≥ 5.16, < 6.1.1496.1.149
linux/linux_kernel≥ 6.2, < 6.6.1036.6.103
linux/linux_kernel≥ 6.7, < 6.12.436.12.43
linux/linux_kernel≥ 6.13, < 6.15.116.15.11
linux/linux_kernel≥ 6.16, < 6.16.26.16.2
debian/debian_linuxall versions—
References (12)
EPSS history
Timeline
  • 11 SEP 16:52Z
    RDMA: hfi1: fix possible divide-by-zero in find_hw_thread_mask()
    cvelistv5