CVE-2025-40312: Linux kernel · jfs: Verify inode mode when loading from disk
Source GCVE Database
Not known to be exploited.
Data as of 25 Nov 2026, 21:38 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
Exploitation evidence
Disclosed: evidence found.
CVE published 8 Dec 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 25 Nov 2026.
What to do
AI-suggested
A fix has been applied in the Linux kernel to verify inode modes when loading from disk in the JFS filesystem. Users should update to the fixed kernel version once available. Patch status is not explicitly confirmed in the provided data; check the vendor advisory for current remediation guidance.
Description
A vulnerability in the Linux kernel's JFS filesystem code was addressed by verifying the inode mode when loading from disk. The issue involved potentially invalid inode modes being loaded from corrupted disks, which could lead to improper handling of filesystem metadata.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40312 (opens in a new tab)
- git.kernel.org/stable/c/1795277a4e98d82e6451544d43695540cee042ea (opens in a new tab)
- git.kernel.org/stable/c/19cce65709a8a2966203653028d9004e28e85bd5 (opens in a new tab)
- git.kernel.org/stable/c/2870a7dec49ccdc3f6ae35da8f5d6737f21133a8 (opens in a new tab)
- git.kernel.org/stable/c/46c76cfa17d1828c1a889cb54cb11d5ef3dfbc0f (opens in a new tab)
- git.kernel.org/stable/c/7a5aa54fba2bd591b22b9b624e6baa9037276986 (opens in a new tab)
- git.kernel.org/stable/c/8d6a9cbd276b3b85da0e7e98208f89416fed9265 (opens in a new tab)
- git.kernel.org/stable/c/ce054a366c54992185c9514e489a14f145b10c29 (opens in a new tab)
- git.kernel.org/stable/c/fabc1348bb8fe6bc80850014ee94bd89945f7f4d (opens in a new tab)