Skip to main content
VulnerabilityPublished Updated

CVE-2025-37742: Linux kernel · jfs: Fix uninit-value access of imap allocated in the diMount() function

Source GCVE Database

0
Compare

Not known to be exploited · CVSS 5.5 Medium.

Data as of 4 Nov 2026, 17:23 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 May 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 is available that replaces kmalloc with kzalloc in the diMount() function to ensure proper initialization of the imap structure. Users should apply the official Linux kernel patches that address this issue once available. Until patched, avoid mounting JFS filesystems if possible to reduce exposure.

Description

CVE-2025-37742 is a medium severity vulnerability in the Linux kernel's JFS filesystem code. It involves uninitialized value access of the imap structure allocated in the diMount() function. This flaw causes the snprintf() function to write uninitialized data into a buffer during hex dumping, potentially leading to kernel memory corruption and a denial of service. The issue is fixed by initializing the allocated memory with kzalloc instead of kmalloc in diMount().

References

Community reviews

Loading reviews…