CVE-2025-40312

published 8 Dec 2025 · updated 11 May 2026

jfs: Verify inode mode when loading from disk

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1795277a4e98d82e6451544d43695540cee042ea, Kernel 19cce65709a8a2966203653028d9004e28e85bd5, Kernel 2870a7dec49ccdc3f6ae35da8f5d6737f21133a8 and 5 more.

In the Linux kernel, the following vulnerability has been resolved: jfs: Verify inode mode when loading from disk The inode mode loaded from corrupted disk can be invalid. Do like what commit 0a9e74051313 ("isofs: Verify inode mode when loading from disk") does.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.12, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1795277a4e98d82e6451544d43695540cee042ea, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <19cce65709a8a2966203653028d9004e28e85bd5, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2870a7dec49ccdc3f6ae35da8f5d6737f21133a8, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <46c76cfa17d1828c1a889cb54cb11d5ef3dfbc0f, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7a5aa54fba2bd591b22b9b624e6baa9037276986, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8d6a9cbd276b3b85da0e7e98208f89416fed9265, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ce054a366c54992185c9514e489a14f145b10c29, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <fabc1348bb8fe6bc80850014ee94bd89945f7f4d1795277a4e98d82e6451544d43695540cee042ea, 19cce65709a8a2966203653028d9004e28e85bd5, 2870a7dec49ccdc3f6ae35da8f5d6737f21133a8, 46c76cfa17d1828c1a889cb54cb11d5ef3dfbc0f, 7a5aa54fba2bd591b22b9b624e6baa9037276986, 8d6a9cbd276b3b85da0e7e98208f89416fed9265, ce054a366c54992185c9514e489a14f145b10c29, fabc1348bb8fe6bc80850014ee94bd89945f7f4d

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40312 severity on Zeptric[![CVE-2025-40312](https://zeptric.io/badge/cve/CVE-2025-40312.svg)](https://zeptric.io/cve/CVE-2025-40312)