CIFS Module Null Pointer Dereference Vulnerability in Linux Kernel

linux Updated 02 Oct 2025

Summary

01/05/2025
N/A
No i
Unrated
Not published

CVE-2025-23143: In the Linux kernel, the following vulnerability has been resolved: net: Fix null-ptr-deref by sock_lock_init_class_and_name() and rmmod. Affects linux versions 5.10.103-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 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 Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It supports various file systems, including CIFS (Common Internet File System), which allows file sharing over a network. The kernel's stability and security are paramount, as vulnerabilities can lead to system crashes or unauthorized access.

Vulnerability Detail

The vulnerability, identified as CVE-2025-23143, arises from a null pointer dereference issue in the CIFS module of the Linux kernel. This occurs when the CIFS module is unloaded while a TCP socket remains active, leading to a discrepancy in the lifecycle management of the module and the socket. When the socket is still alive but the module is unloaded, it triggers a warning and a null pointer dereference, potentially causing system instability or crashes.

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

As a temporary workaround, users can avoid unloading the CIFS module while any associated TCP sockets are still active. This can be done by ensuring that all CIFS connections are properly closed before attempting to unload the module.

Conclusion

CVE-2025-23143 is a critical vulnerability in the Linux kernel's CIFS module that can lead to system instability due to a null pointer dereference. Users are advised to update their kernel to the latest version to mitigate this issue and ensure system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-23143 is a vulnerability in the Linux kernel's CIFS module that can lead to a null pointer dereference, causing system instability.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

The vulnerability can lead to system crashes or instability when the CIFS module is unloaded while sockets are still active.

Yes, a patch is available in the updated versions of the Linux kernel. Users should update their kernel to the latest version to mitigate this issue.

If immediate updates are not possible, ensure that the CIFS module is not unloaded while any TCP sockets are still active as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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