Vulnerability in Kernel: userfaultfd release page in error path to avoid BUG_ON

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000321: userfaultfd: release page in error path to avoid BUG_ON. Affects Kernel versions >= cb658a453b9327ce96ce5222c24d162b5b65b564, < 140cfd9980124aecb6c03ef2e69c72d0548744de. 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 Kernel is a critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities for the proper functioning of the system. The userfaultfd feature in the Kernel allows user-space processes to handle page faults. However, a vulnerability has been discovered in the userfaultfd implementation that could lead to a BUG_ON error, potentially impacting system stability and security.

Vulnerability Detail

The vulnerability arises from a missing release of a page in the error path of the userfaultfd implementation. This omission can trigger a BUG_ON error, which may result in system crashes or other unexpected behavior. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges. The vulnerability was introduced in Kernel version 4.11 and has been fixed in version 5.10.38.

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

No specific workaround has been provided for this vulnerability. It is advised to apply the official fix by updating the Linux Kernel to the recommended version.

Conclusion

The vulnerability in the Kernel's userfaultfd implementation can lead to system instability and potential security risks. It is crucial to update the Linux Kernel to version 5.10.38 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to system crashes, unexpected behavior, and potential privilege escalation, which may be exploited by attackers to cause a denial-of-service (DoS) condition or execute arbitrary code.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.

At the time of this report, no known exploits for this vulnerability have been disclosed. However, it is crucial to apply the recommended fix to mitigate any potential risks.

The vulnerability itself does not provide remote exploitation capabilities. However, if an attacker gains access to the affected system, they could potentially exploit this vulnerability to execute arbitrary code or cause a DoS condition.

If updating the Kernel is not immediately feasible, it is recommended to implement other security measures, such as network segmentation, access controls, and regular monitoring, to minimize the risk of exploitation.

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