Linux Kernel JFS Module Null Pointer Dereference Vulnerability

Vulnerability

A null pointer dereference vulnerability has been identified in the Linux kernel's JFS (Journaled File System) module. This issue arises from a concurrency bug where a pointer, expected to reference a valid memory location, is instead NULL, leading to a general protection fault. The vulnerability occurs in the 'jfs_ioc_trim' function, where the NULL pointer is dereferenced after being set to NULL in 'dbFreeBits'. Although this bug manifests rarely under normal conditions, it can be triggered using a syzkaller-generated program.

Impact

Exploitation of this vulnerability causes a kernel panic, leading to a fatal exception and halting the system.

Reproduction

The vulnerability can be reproduced by executing a syz-program that interacts with the JFS filesystem. This program should trigger the 'jfs_ioc_trim' ioctl, which will cause the filesystem to attempt to dereference a NULL pointer, resulting in a general protection fault and a kernel panic.

Added: Jul 4, 2025, 3:21 PM
Updated: Jul 4, 2025, 3:21 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.9
remediation
7.7
relevance
0.2
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.