{"id":"CVE-2025-37740","summary":"jfs: add sanity check for agwidth in dbMount","details":"In the Linux kernel, the following vulnerability has been resolved:\n\njfs: add sanity check for agwidth in dbMount\n\nThe width in dmapctl of the AG is zero, it trigger a divide error when\ncalculating the control page level in dbAllocAG.\n\nTo avoid this issue, add a check for agwidth in dbAllocAG.","modified":"2026-04-02T12:47:22.316133Z","published":"2025-05-01T12:55:49.287Z","related":["SUSE-SU-2025:01964-1","SUSE-SU-2025:01965-1","SUSE-SU-2025:02000-1","SUSE-SU-2025:02254-1","SUSE-SU-2025:02307-1","SUSE-SU-2025:02333-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:20408-1","SUSE-SU-2025:20413-1","SUSE-SU-2025:20419-1","SUSE-SU-2025:20421-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37740.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/722e72f7f9c69fcb3ab7988c2471feff7a4c8de1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a065cec230aa807c18828a3eee82f1c8592c2adf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a260bf14cd347878f01f70739ba829442a474a16"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a741f29ac8b6374c9904be8b7ac7cdfcd7e7e4fa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c8c96a9e7660e5e5eea445978fe8f2e432d91c1f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cc0bc4cb62ce5fa0c383e3bf0765d01f46bd49ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ccd97c8a4f90810f228ee40d1055148fa146dd57"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ddf2846f22e8575d6b4b6a66f2100f168b8cd73d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e3f85edb03183fb06539e5b50dd2c4bb42b869f0"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37740.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37740"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"},{"fixed":"a065cec230aa807c18828a3eee82f1c8592c2adf"},{"fixed":"722e72f7f9c69fcb3ab7988c2471feff7a4c8de1"},{"fixed":"a741f29ac8b6374c9904be8b7ac7cdfcd7e7e4fa"},{"fixed":"a260bf14cd347878f01f70739ba829442a474a16"},{"fixed":"cc0bc4cb62ce5fa0c383e3bf0765d01f46bd49ac"},{"fixed":"ccd97c8a4f90810f228ee40d1055148fa146dd57"},{"fixed":"c8c96a9e7660e5e5eea445978fe8f2e432d91c1f"},{"fixed":"e3f85edb03183fb06539e5b50dd2c4bb42b869f0"},{"fixed":"ddf2846f22e8575d6b4b6a66f2100f168b8cd73d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37740.json"}}],"schema_version":"1.7.5"}