Kernel crash via unchecked core-sibling divisor
Published Sep 11, 2025 · Updated May 12, 2026
Divide-by-zero in Linux kernel hfi1 CPU-affinity code allows local users to crash affected systems via RDMA affinity calculation. The find_hw_thread_mask() function divides the online-CPU count by affinity->num_core_siblings before checking whether that divisor is zero. Reachability requires hfi1 driver execution and a zero num_core_siblings topology value; the documented consequence is an availability-only kernel crash.
Summary
What happened
Divide-by-zero in Linux kernel hfi1 CPU-affinity code allows local users to crash affected systems via RDMA affinity calculation. The find_hw_thread_mask() function divides the online-CPU count by affinity->num_core_siblings before checking whether that divisor is zero. Reachability requires hfi1 driver execution and a zero num_core_siblings topology value; the documented consequence is an availability-only kernel crash.
The record
- CVE
- CVE-2025-39742
- Published
- Sep 11, 2025
- Updated
- May 12, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-369, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 11, 2025CVE publishedPublication date reported by the CVE source.
- May 12, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.8
- Affected versionversion=b094a36f90975373c3a241839869217a65f17d81 <1a7cf828ed861de5be1aff99e10f114b363c19d3
- Affected versionversion=b094a36f90975373c3a241839869217a65f17d81 <31d0599a23efdbfe579bfbd1eb8f8c942f13744d
- Affected versionversion=b094a36f90975373c3a241839869217a65f17d81 <4b4317b0d758ff92ba96f4e448a8992a6fe607bf
- Affected versionversion=b094a36f90975373c3a241839869217a65f17d81 <59f7d2138591ef8f0e4e4ab5f1ab674e8181ad3a
- Affected versionversion=b094a36f90975373c3a241839869217a65f17d81 <89fdac333a17ed990b41565630ef4791782e02f5
- Affected versionversion=b094a36f90975373c3a241839869217a65f17d81 <9b05e91afe948ed819bf87d7ba0fccf451ed79a6
- Affected versionversion=b094a36f90975373c3a241839869217a65f17d81 <9bba1a9994c523b44db64f63b564b4719ea2b7ef
- Affected versionversion=b094a36f90975373c3a241839869217a65f17d81 <9d3211cb61a0773a2440d0a0698c1e6e7429f907
- Affected versionversion=b094a36f90975373c3a241839869217a65f17d81 <ac53f377393cc85156afdc90b636e84e544a6f96
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo