Critical NULL Pointer Dereference in Linux Kernel 9p Filesystem

linux Updated 02 Oct 2025

Summary

16/04/2025
N/A
No i
Medium
5.5

CVE-2025-22070: In the Linux kernel, the following vulnerability has been resolved: fs/9p: fix NULL pointer dereference on mkdir When a 9p tree was mounted with option 'posixacl', parent directory had a default ACL set for its subdirect... 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core of many operating systems, providing essential services for all other parts of the system. It manages hardware resources, system calls, and file systems. The 9p filesystem is a network file system that allows for file sharing between different systems. This vulnerability affects the 9p filesystem when used with the 'posixacl' option, which can lead to crashes when creating subdirectories under certain conditions.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the 9p filesystem that leads to a NULL pointer dereference when attempting to create a subdirectory in a parent directory with a default ACL set. This issue arises from the order of function calls in the code, specifically in the v9fs_vfs_mkdir_dotl() function. When a 9p tree is mounted with the 'posixacl' option, and the parent directory has a default ACL set, the v9fs_fid_add() function sets the 'fid' pointer to NULL, which is then used in a subsequent call to v9fs_set_create_acl(). This results in a kernel crash, as the system attempts to dereference a NULL pointer.

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 using the 'posixacl' option when mounting 9p filesystems or refrain from setting default ACLs on parent directories until the kernel is updated.

Conclusion

The vulnerability CVE-2025-22070 in the Linux kernel's 9p filesystem poses a significant risk by causing system crashes under specific conditions. Users are advised to update their kernel to the patched version and consider workarounds until the update is applied. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-22070 is a vulnerability in the Linux kernel's 9p filesystem that can cause a NULL pointer dereference, leading to system crashes when creating subdirectories under certain conditions.

If your system uses the 9p filesystem with the 'posixacl' option and has default ACLs set on parent directories, it may crash when attempting to create subdirectories.

You should update your Linux kernel to the latest patched version that addresses CVE-2025-22070. Check your package manager for available updates.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

Vulert is a tool that monitors open-source vulnerabilities in software using a manifest file like package-lock.json. It provides real-time alerts for vulnerabilities.

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