Fix NULL pointer dereference in udf_symlink function in Kernel

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001300: udf: Fix NULL pointer dereference in udf_symlink function. Affects Kernel versions < 21bf1414580c36ffc8d8de043beb3508cf812238. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a crucial component of the Linux operating system that manages core system functions and facilitates communication between hardware and software. It provides essential services such as process management, memory management, and device drivers. The udf_symlink function in the Kernel is responsible for creating symbolic links in the Universal Disk Format (UDF) file system. Symbolic links are pointers to files or directories that allow for easy navigation and organization of data. However, a vulnerability in the udf_symlink function can lead to a NULL pointer dereference, causing the system to crash or potentially enabling an attacker to execute arbitrary code.

Vulnerability Detail

The vulnerability in the udf_symlink function arises from a failure to handle NULL pointers correctly. When processing a maliciously crafted UDF file system, the function may encounter a NULL pointer, leading to a crash or potential code execution. An attacker could exploit this vulnerability by tricking a user into opening a specially crafted UDF file, potentially resulting in a denial of service or arbitrary code execution with elevated privileges. This vulnerability has been assigned the ID GSD-2021-1001300 and is fixed in Linux Kernel version v5.10.51 by commit 21bf1414580c36ffc8d8de043beb3508cf812238.

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 workaround, users can avoid opening or accessing UDF files from untrusted or unknown sources. Additionally, implementing strict file system access controls and limiting the privileges of user accounts can help mitigate the impact of this vulnerability.

Conclusion

The NULL pointer dereference vulnerability in the udf_symlink function of the Kernel can have severe consequences, including system crashes and potential code execution. It is crucial to update the Kernel to the fixed version or apply the recommended workarounds to mitigate the risk. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that manages core system functions and facilitates communication between hardware and software.

The udf_symlink function is responsible for creating symbolic links in the Universal Disk Format (UDF) file system.

A NULL pointer dereference occurs when a program attempts to access or manipulate data using a pointer that points to a NULL (empty) memory address.

This vulnerability can lead to a system crash (denial of service) or potentially enable an attacker to execute arbitrary code with elevated privileges.

To fix this vulnerability, update the Linux Kernel to version v5.10.51 or later by downloading the updated source code and compiling it, or wait for your Linux distribution to release an updated package.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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