CVE-2025-37740: Linux kernel · jfs: add sanity check for agwidth in dbMount
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 4 Nov 2026, 17:23 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 May 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to add a sanity check for agwidth in dbAllocAG, preventing the divide error. Users should apply the official kernel updates that include this patch once available. No other mitigation is indicated.
Description
CVE-2025-37740 is a medium severity vulnerability in the Linux kernel's JFS filesystem code. It involves a missing sanity check for the agwidth parameter in the dbMount function. When agwidth is zero, a divide error occurs during control page level calculation in dbAllocAG, causing a potential denial of service. The issue has been resolved by adding a check for agwidth in dbAllocAG.
References
- nvd.nist.gov/vuln/detail/CVE-2025-37740 (opens in a new tab)
- git.kernel.org/stable/c/722e72f7f9c69fcb3ab7988c2471feff7a4c8de1 (opens in a new tab)
- git.kernel.org/stable/c/a065cec230aa807c18828a3eee82f1c8592c2adf (opens in a new tab)
- git.kernel.org/stable/c/a260bf14cd347878f01f70739ba829442a474a16 (opens in a new tab)
- git.kernel.org/stable/c/a741f29ac8b6374c9904be8b7ac7cdfcd7e7e4fa (opens in a new tab)
- git.kernel.org/stable/c/c8c96a9e7660e5e5eea445978fe8f2e432d91c1f (opens in a new tab)
- git.kernel.org/stable/c/cc0bc4cb62ce5fa0c383e3bf0765d01f46bd49ac (opens in a new tab)
- git.kernel.org/stable/c/ccd97c8a4f90810f228ee40d1055148fa146dd57 (opens in a new tab)
- git.kernel.org/stable/c/ddf2846f22e8575d6b4b6a66f2100f168b8cd73d (opens in a new tab)
- git.kernel.org/stable/c/e3f85edb03183fb06539e5b50dd2c4bb42b869f0 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)