Vulnerability in Kernel package: 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-1000407: userfaultfd: release page in error path to avoid BUG_ON. Affects Kernel versions >= cb658a453b9327ce96ce5222c24d162b5b65b564, < b3f1731c6d7fbc1ebe3ed8eff6d6bec56d76ff43. 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 package is a critical component of the Linux operating system. It provides the core functionality and acts as an interface between the hardware and software layers. The userfaultfd subsystem in the Kernel allows user-space processes to handle page faults, enabling efficient memory management. However, a vulnerability has been discovered in the userfaultfd subsystem that could potentially be exploited by attackers.

Vulnerability Detail

The vulnerability in the userfaultfd subsystem arises from a missing release of a page in the error path, which can lead to a BUG_ON condition. This vulnerability was introduced in version v4.11 of the Linux Kernel and has been fixed in version v5.4.120. If exploited, an attacker may be able to trigger a denial-of-service (DoS) condition or potentially execute arbitrary code with elevated privileges. It is important to note that the impact and attack plausibility of this vulnerability have not been proven.

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 apply patches or backports provided by their Linux distribution's security team. These patches may address the specific vulnerability and can be applied without upgrading the entire Kernel. It is important to consult the documentation and support channels of the respective Linux distribution for guidance on applying patches or backports.

Conclusion

In conclusion, a vulnerability has been identified in the userfaultfd subsystem of the Kernel package. It is crucial to update the Linux Kernel to version v5.4.120 or later to mitigate the risk of exploitation. Applying patches or backports provided by the Linux distribution's security team can also serve as a temporary workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The userfaultfd subsystem in the Kernel allows user-space processes to handle page faults, facilitating efficient memory management.

BUG_ON is a macro used in the Linux Kernel code to assert certain conditions. If a BUG_ON condition evaluates to true, it triggers a kernel panic, halting the system.

If exploited, this vulnerability could lead to a denial-of-service (DoS) condition or enable an attacker to execute arbitrary code with elevated privileges.

No, the impact and attack plausibility of this vulnerability have not been proven.

You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will provide real-time alerts for open-source vulnerabilities.

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