Race Condition Vulnerability in userfaultfd

Kernel Updated 02 Oct 2025

Summary

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

UVI-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 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 userfaultfd vulnerability affects the Kernel package in the Linux ecosystem. The Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. The userfaultfd feature allows user-space applications to handle page faults, which occur when a process accesses a memory page that is not currently in physical memory. This vulnerability specifically involves a race condition between the writeprotect and exit_mmap() functions.

Vulnerability Detail

The race condition vulnerability in userfaultfd arises due to a timing issue between the writeprotect and exit_mmap() functions. This vulnerability can be exploited by an attacker to gain unauthorized access or cause a denial-of-service (DoS) condition. By manipulating the timing of these functions, an attacker can potentially modify memory protections and gain elevated privileges. 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

There is no known workaround available for this vulnerability at the moment.

Conclusion

The race condition vulnerability in userfaultfd can pose a security risk to systems running the affected version of the Linux Kernel. It is crucial to update the Kernel to the latest version to ensure the vulnerability is properly addressed. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

userfaultfd is a feature in the Linux Kernel that allows user-space applications to handle page faults.

A race condition is a timing-related issue that occurs when the behavior of a system depends on the relative timing of events.

The impact of this vulnerability can range from unauthorized access to a system to causing a denial-of-service condition.

An attacker can potentially exploit this vulnerability by manipulating the timing of the writeprotect and exit_mmap() functions to gain elevated privileges or cause a DoS condition.

Yes, updating the Linux Kernel to version v5.10.76 or later fixes this vulnerability.

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