Potential NULL Pointer Dereference in Linux Kernel - linux Package Vulnerability

linux Updated 02 Oct 2025

Summary

04/07/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-38208: In the Linux kernel, the following vulnerability has been resolved: smb: client: add NULL check in automount_fullpath page is checked for null in __build_path_from_dentry_optional_prefix when tcon->origin_fullpath is not... Affects linux versions < 6.12.35-1. Fixed in 6.12.35-1. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The linux package is a core component of the Debian operating system, providing the essential kernel that manages system resources and hardware interactions. It is responsible for enabling the execution of applications and managing system processes. Given its foundational role, vulnerabilities in the linux package can have widespread implications for system stability and security.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified related to the handling of NULL pointers in the SMB client functionality. Specifically, the function __build_path_from_dentry_optional_prefix lacks a NULL check when tcon->origin_fullpath is set, potentially leading to a NULL pointer dereference. This oversight could allow an attacker to exploit the vulnerability, resulting in system crashes or unauthorized access to sensitive data.

How To Fix

Minimum fixed version

6.12.35-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, no specific workarounds have been recommended for this vulnerability. It is advisable to apply the patch as soon as it is available to mitigate potential risks.

Conclusion

The identified vulnerability in the linux package of the Linux kernel poses a significant risk due to the potential for NULL pointer dereference. Users are urged to update to the patched version 6.12.35-1 to mitigate this risk. Regular monitoring and updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves a potential NULL pointer dereference in the SMB client functionality of the Linux kernel.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

Failure to address this vulnerability may lead to system crashes or unauthorized access to sensitive data, compromising system integrity and security.

Yes, the vulnerability is fixed in version 6.12.35-1 of the linux package.

It is recommended to check for updates regularly, ideally on a weekly basis, to ensure that your system is protected against known vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.35-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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