Uninitialized Value Access in Squashfs - Linux Kernel Vulnerability

linux Updated 04 Nov 2025

Summary

28/10/2025
N/A
No i
Unrated
Not published

DEBIAN-CVE-2025-40049: In the Linux kernel, the following vulnerability has been resolved: Squashfs: fix uninit-value in squashfs_get_parent Syzkaller reports a "KMSAN: uninit-value in squashfs_get_parent" bug. 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 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 kernel is a core component of many operating systems, providing essential services for hardware and software interactions. It supports a wide range of functionalities, including process management, memory management, and device control. The Squashfs file system, a compressed read-only file system for Linux, is designed for efficient storage and retrieval of files. However, it is susceptible to vulnerabilities that can lead to security issues, such as the one described herein.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the Squashfs file system related to the function 'squashfs_get_parent'. This issue arises when 'open_by_handle_at()' is called with a file handle that contains an invalid parent inode number, specifically when that inode is a symbolic link rather than a directory. This leads to an uninitialized value access, as non-directory inodes do not have a defined parent value. The consequence of this vulnerability could potentially allow for undefined behavior or crashes, impacting system stability and security.

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 symbolic links in contexts where the parent inode is required, or ensure that file handles are validated before being passed to 'open_by_handle_at()'.

Conclusion

The vulnerability in the Squashfs file system of the Linux kernel poses a significant risk due to uninitialized value access. Users are urged to update their systems to the latest version to mitigate this issue. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves an uninitialized value access in the Squashfs file system when handling symbolic links.

You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.

The risks include system instability, crashes, and potential exploitation by malicious actors if the vulnerability is leveraged.

Yes, a patch has been released. Users should update their Linux kernel to the latest version to mitigate the risk.

Detailed information can be found in the official CVE report and through resources like Vulert, which provides real-time monitoring 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