Race Condition Vulnerability in userfaultfd Package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001843: userfaultfd: fix a race between writeprotect and exit_mmap(). Affects Kernel versions >= 63b2d4174c4ad1f40b48d7138e71bcb564c1fe03, < 3cda4bfffd4f755645577aaa9e96a606657b4525. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The userfaultfd package is a part of the Linux Kernel ecosystem. It provides a mechanism for handling user faults, allowing user-space applications to handle page faults in a customized manner. This package is critical for memory management and plays a crucial role in ensuring the stability and security of the Linux Kernel.

Vulnerability Detail

The identified vulnerability in the userfaultfd package is a race condition between the writeprotect and exit_mmap() functions. This race condition can be exploited by an attacker to gain unauthorized access or manipulate sensitive data in the kernel memory. The vulnerability was introduced in version v5.7 of the Linux Kernel and was fixed in version v5.10.76. The impact and attack plausibility of this vulnerability have not been proven yet.

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 mentioned for this vulnerability.

Conclusion

The race condition vulnerability in the userfaultfd package can potentially lead to unauthorized access or manipulation of sensitive data in the kernel memory. It is crucial to update the Linux Kernel to version v5.10.76 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 userfaultfd package is a component of the Linux Kernel that handles user faults and allows user-space applications to handle page faults in a customized manner.

A race condition vulnerability occurs when multiple processes or threads access shared resources in an unexpected order, leading to unpredictable behavior and potential security vulnerabilities.

The impact of this vulnerability is not yet proven. However, if successfully exploited, an attacker could gain unauthorized access or manipulate sensitive data in the kernel memory.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.76 or later. This update includes the necessary patch to address the race condition.

Users can obtain the updated Linux Kernel from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/

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