jfs: NULL dereference in diFree

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002186: jfs: prevent NULL deref in diFree. Affects Kernel versions < e19c3149a80e4fc8df298d6546640e01601f3758. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The jfs package is a component of the Linux Kernel, which is responsible for managing the JFS file system. JFS is a journaling file system that provides high performance and reliability. It is commonly used in Linux distributions. The diFree function in the jfs package is responsible for freeing disk inode structures. However, a vulnerability exists in this function that can lead to a NULL dereference.

Vulnerability Detail

The vulnerability in the jfs package allows an attacker to trigger a NULL dereference in the diFree function. This can be exploited by an attacker to cause a denial of service (DoS) condition, leading to a system crash or hang. The vulnerability originates from a lack of proper validation of input data, allowing an attacker to pass a NULL pointer to the diFree function. This vulnerability has been assigned the ID GSD-2022-1002186.

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 known workaround for this vulnerability. It is necessary to update the Linux Kernel to the fixed version.

Conclusion

The jfs package in the Linux Kernel is vulnerable to a NULL dereference in the diFree function. This vulnerability can be exploited to cause a denial of service condition. To mitigate this vulnerability, it is recommended to update the Linux Kernel to version v5.4.189 or later. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can be exploited by an attacker to cause a denial of service (DoS) condition, leading to a system crash or hang.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.

Yes, a patch is available in the Linux Kernel version v5.4.189. It is recommended to update your kernel to this version or later.

No, this vulnerability requires local access to the system in order to exploit it.

There are no known instances of this vulnerability being exploited in the wild at this time.

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