CVE-2025-39742
CVE-2025-39742 — RDMA: hfi1: fix possible divide-by-zero in find_hw_thread_mask()
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.
Published Updated Sources: cvelistV5, Linux
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
Unscored
no source published a base score
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
References
12 on the record
- git.kernel.org/stable/c/9bba1a9994c523b44db64f63b564b4719ea2b7ef
reference
- git.kernel.org/stable/c/1a7cf828ed861de5be1aff99e10f114b363c19d3
reference
- git.kernel.org/stable/c/9d3211cb61a0773a2440d0a0698c1e6e7429f907
reference
- git.kernel.org/stable/c/4b4317b0d758ff92ba96f4e448a8992a6fe607bf
reference
- git.kernel.org/stable/c/89fdac333a17ed990b41565630ef4791782e02f5
reference
- git.kernel.org/stable/c/9b05e91afe948ed819bf87d7ba0fccf451ed79a6
reference
- git.kernel.org/stable/c/31d0599a23efdbfe579bfbd1eb8f8c942f13744d
reference
- git.kernel.org/stable/c/ac53f377393cc85156afdc90b636e84e544a6f96
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.