Critical Null Pointer Dereference in Linux Kernel - CVE-2025-39842

linux Updated 02 Oct 2025

Summary

19/09/2025
N/A
No i
Unrated
Not published

CVE-2025-39842: In the Linux kernel, the following vulnerability has been resolved: ocfs2: prevent release journal inode after journal shutdown Before calling ocfs2_delete_osb(), ocfs2_journal_shutdown() has already been executed in ocf... Affects linux versions 6.1.106-1 – 6.9.9-1. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interactions. It is known for its stability, performance, and security. However, like any complex software, it can have vulnerabilities. CVE-2025-39842 specifically affects the ocfs2 filesystem, which is used for clustered file systems in Linux, allowing multiple nodes to access the same files concurrently. This vulnerability can lead to system instability and potential data loss if not addressed.

Vulnerability Detail

CVE-2025-39842 is a vulnerability in the Linux kernel's ocfs2 filesystem that allows for a null pointer dereference. This issue arises when the journal inode is released after the journal has been shut down, leading to a failure in the call trace that can crash the system. The vulnerability originates from improper checks before releasing the journal inode, which can result in a null pointer dereference during execution. If exploited, this could lead to system crashes and data corruption.

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

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it becomes available.

Conclusion

CVE-2025-39842 is a critical vulnerability in the Linux kernel that requires immediate attention. By updating to the patched version, users can protect their systems from potential crashes and data loss. Regular updates and monitoring for vulnerabilities are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-39842 is a vulnerability in the Linux kernel that can lead to a null pointer dereference, potentially causing system crashes.

The vulnerability affects Debian versions 12, 13, and 14 of the Linux package.

You can use Vulert, which monitors open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

If exploited, this vulnerability can lead to system crashes, data corruption, and instability in applications relying on the ocfs2 filesystem.

It is recommended to regularly check for updates and apply them promptly to ensure your system is protected against known vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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