Divide-By-Zero Vulnerability in Linux Kernel Product
CVE-2025-39742

Currently unrated

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
11 September 2025

What is CVE-2025-39742?

A vulnerability has been identified in the Linux kernel related to the hfi1 driver, where a divide-by-zero error may occur. The issue arises within the function responsible for computing the hardware thread mask, particularly when dividing the number of online CPUs by the number of core siblings. If the latter value is zero, it leads to a runtime error. This has been mitigated by repositioning the zero check, ensuring error prevention during the computation process.

Affected Version(s)

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 9bba1a9994c523b44db64f63b564b4719ea2b7ef

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 1a7cf828ed861de5be1aff99e10f114b363c19d3

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 9d3211cb61a0773a2440d0a0698c1e6e7429f907

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-39742 : Divide-By-Zero Vulnerability in Linux Kernel Product