jfs: NULL dereference in diFree

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002311: jfs: prevent NULL deref in diFree. Affects Kernel versions < 2ef74e3e0089b6615ee124e1183746974c6bb561. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The jfs package is a file system driver for the Linux Kernel. It provides support for the Journaled File System (JFS), which is a high-performance file system designed for use on IBM AIX operating systems. The jfs package is responsible for managing file system operations and ensuring data integrity. However, a vulnerability has been discovered in the diFree function of the jfs package, which could lead to a NULL dereference.

Vulnerability Detail

The vulnerability in the diFree function of the jfs package allows an attacker to trigger a NULL dereference, potentially leading to a system crash or privilege escalation. This vulnerability occurs when the function attempts to free a directory index (di) structure that is already NULL. By exploiting this vulnerability, an attacker could cause a denial of service or execute arbitrary code with elevated privileges. The impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability.

Conclusion

The jfs package in the Linux Kernel is vulnerable to a NULL dereference in the diFree function. This vulnerability could result in a system crash or privilege escalation. It is recommended to update the kernel to version v4.19.238 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The jfs package is a file system driver for the Linux Kernel, providing support for the Journaled File System (JFS).

A NULL dereference occurs when a program attempts to access or manipulate a memory location that is NULL, resulting in a crash or potential security vulnerability.

This vulnerability could lead to a system crash or privilege escalation, allowing an attacker to disrupt system operations or execute arbitrary code with elevated privileges.

No, the impact and attack plausibility of this vulnerability have not been proven yet.

To fix this vulnerability, update the Linux Kernel to version v4.19.238 or later, which includes the necessary fix for the diFree function.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback