Cyber Resilience

CVE-2025-37740

Linux Kernel ≤ 5.4.293

Published
01 May 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 5.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0017 7th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2025-37740 is a medium-severity Divide By Zero (CWE-369) vulnerability in Linux Linux Kernel. Its CVSS base score is 5.5 (Medium).

Operationally, ranked at the 7th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and SI-7 (Software, Firmware, and Information Integrity) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

In the Linux kernel, the following vulnerability has been resolved: jfs: add sanity check for agwidth in dbMount The width in dmapctl of the AG is zero, it trigger a divide error when calculating the control page level in dbAllocAG.…

more

To avoid this issue, add a check for agwidth in dbAllocAG.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-37937Same product: Debian Debian Linux
CVE-2024-26778Same product: Debian Debian Linux
CVE-2025-37766Same product: Debian Debian Linux
CVE-2025-37770Same product: Debian Debian Linux
CVE-2025-39742Same product: Debian Debian Linux
CVE-2025-38126Same product: Debian Debian Linux
CVE-2024-26777Same product: Debian Debian Linux
CVE-2024-35925Same product: Debian Debian Linux
CVE-2025-37768Same product: Debian Debian Linux
CVE-2025-39916Same product: Debian Debian Linux

Affected Assets

linux
linux kernel
≤ 5.4.293 · 5.5 — 5.10.237 · 5.11 — 5.15.181
debian
debian linux
11.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-10 Information Input Validation
  • SI-7 Software, Firmware, and Information Integrity
Detect
Catch it (NIST detect / respond)
  • SI-7 Software, Firmware, and Information Integrity
  • SI-11 Error Handling
Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly implements the added sanity check on agwidth metadata during dbMount/dbAllocAG to block the divide-by-zero (CWE-369) before the calculation occurs.

preventdetect

Requires verification of filesystem metadata integrity on mount, which would detect or reject the zero agwidth value in the dmapctl structure.

respond

Ensures the kernel handles the arithmetic fault gracefully rather than crashing when the missing validation is triggered.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly include code analysis, input validation, and testing that prevent divide-by-zero errors.

ID.RA-01 partial match
prevents

Vulnerability identification processes can discover divide-by-zero flaws via static analysis or testing.

PR.PS-02 partial match
prevents

Routine patching and replacement can remediate divide-by-zero bugs present in deployed software.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development can detect divide-by-zero conditions before release.

prevents

Secure development lifecycle includes input validation and error-handling practices that can prevent divide-by-zero faults.

prevents

Application security requirements can mandate checks for zero denominators and safe arithmetic handling.

prevents

Secure architecture principles encourage defensive coding patterns that avoid arithmetic exceptions.

prevents

Secure coding standards directly require validation to prevent divide-by-zero and similar runtime faults.

References