CVE-2025-40312Public exploit

Kernel crash via unchecked JFS inode mode

Published Dec 8, 2025 · Updated May 11, 2026

Improper inode validation in Linux JFS allows local users to crash the kernel by opening an inode from a corrupted filesystem. In jfs_iget, every mode other than a regular file, directory, or symbolic link was passed to init_special_inode without confirming a valid special-file type. Exploitation requires access to a mounted malformed JFS filesystem; opening the invalid inode reaches the may_open kernel BUG and interrupts the host.

CVSS severity7.0
High
EPSS probability0.20%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Improper inode validation in Linux JFS allows local users to crash the kernel by opening an inode from a corrupted filesystem. In jfs_iget, every mode other than a regular file, directory, or symbolic link was passed to init_special_inode without confirming a valid special-file type. Exploitation requires access to a mounted malformed JFS filesystem; opening the invalid inode reaches the may_open kernel BUG and interrupts the host.

The record

CVE
CVE-2025-40312
Published
Dec 8, 2025
Updated
May 11, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
T1499.004
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Dec 8, 2025CVE publishedPublication date reported by the CVE source.
  2. May 11, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1795277a4e98d82e6451544d43695540cee042ea
  2. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <19cce65709a8a2966203653028d9004e28e85bd5
  3. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2870a7dec49ccdc3f6ae35da8f5d6737f21133a8
  4. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <46c76cfa17d1828c1a889cb54cb11d5ef3dfbc0f
  5. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7a5aa54fba2bd591b22b9b624e6baa9037276986
  6. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8d6a9cbd276b3b85da0e7e98208f89416fed9265
  7. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ce054a366c54992185c9514e489a14f145b10c29
  8. Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <fabc1348bb8fe6bc80850014ee94bd89945f7f4d
  9. Affected versionversion=2.6.12

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <1795277a4e98d82e6451544d43695540cee042ea; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <19cce65709a8a2966203653028d9004e28e85bd5; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <2870a7dec49ccdc3f6ae35da8f5d6737f21133a8; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <46c76cfa17d1828c1a889cb54cb11d5ef3dfbc0f; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7a5aa54fba2bd591b22b9b624e6baa9037276986; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <8d6a9cbd276b3b85da0e7e98208f89416fed9265; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ce054a366c54992185c9514e489a14f145b10c29; version=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <fabc1348bb8fe6bc80850014ee94bd89945f7f4d; version=2.6.12

Published CVSS scores

7.0Amazon LinuxCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitPublished

Weakness, pattern, technique

T1499.004Endpoint Denial of Service: Application or System Exploitation

Public exploit references

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo