Linux Kernel JFS Inode Type Validation Vulnerability

Vulnerability

A vulnerability in the Linux kernel's JFS (Journaled File System) implementation has been identified, related to improper handling of on-disk inodes of unsupported types. This issue arises in versions of the Linux kernel through 6.12.0-rc4. The vulnerability was triggered when the 'clear_inode()' function attempted to process a JFS inode of an unknown type, leading to a kernel BUG. Inodes types 5 to 15 are reserved for future extensions and should not appear on a valid filesystem, indicating a flaw in inode type validation.

Impact

Exploitation of this vulnerability causes a kernel panic due to an invalid opcode error, disrupting system operations and potentially leading to a denial of service.

Reproduction

The vulnerability can be reproduced by creating a JFS filesystem that includes inodes of unsupported types, specifically those reserved for future extensions. Once such an inode is present, the 'clear_inode()' function will encounter the invalid type during its processing, triggering the kernel BUG.

Remediation

Users can upgrade to the latest stable version of the Linux kernel where this vulnerability has been addressed. Instructions for upgrading the Linux kernel can be found in the official Linux documentation.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
0.0
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.