CVE-2025-37740

jfs: add sanity check for agwidth in dbMount

No CVSS score yet EPSS 0.20%

Published 1 May 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2025-37740

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-37740 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

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

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.8% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before a065cec230aa807c18828a3eee82f1c8592c2adf
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 722e72f7f9c69fcb3ab7988c2471feff7a4c8de1
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before a741f29ac8b6374c9904be8b7ac7cdfcd7e7e4fa
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before a260bf14cd347878f01f70739ba829442a474a16
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before cc0bc4cb62ce5fa0c383e3bf0765d01f46bd49ac
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before ccd97c8a4f90810f228ee40d1055148fa146dd57
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before c8c96a9e7660e5e5eea445978fe8f2e432d91c1f
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before e3f85edb03183fb06539e5b50dd2c4bb42b869f0
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before ddf2846f22e8575d6b4b6a66f2100f168b8cd73d
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 5.4.293 up to and including 5.4.*
unaffected from 5.10.237 up to and including 5.10.*
unaffected from 5.15.181 up to and including 5.15.*
unaffected from 6.1.135 up to and including 6.1.*
unaffected from 6.6.88 up to and including 6.6.*
unaffected from 6.12.24 up to and including 6.12.*
unaffected from 6.13.12 up to and including 6.13.*
unaffected from 6.14.3 up to and including 6.14.*
unaffected 6.15 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-37740 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37740

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-37740
trivy image --scanners vuln IMAGE | grep CVE-2025-37740

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-37740 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.