Critical Task Management Issue in Linux Kernel: CVE-2021-47504

linux Updated 02 Oct 2025

Summary

24/05/2024
N/A
No i
Unrated
Not published

CVE-2021-47504: In the Linux kernel, the following vulnerability has been resolved: io_uring: ensure task_work gets run as part of cancelations If we successfully cancel a work item but that work item needs to be processed through task_... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 Linux kernel is the core component of many operating systems, responsible for managing hardware resources and providing essential services to software applications. It supports a wide range of functionalities, including process management, memory management, and device control. The kernel's io_uring interface allows for efficient asynchronous I/O operations, enhancing performance for applications that require high throughput. However, the kernel is susceptible to vulnerabilities that can impact system stability and security, such as the one identified in CVE-2021-47504.

Vulnerability Detail

CVE-2021-47504 is a vulnerability in the Linux kernel's io_uring implementation, where a work item cancellation can lead to uninterruptible sleep states. If a work item is canceled but requires processing through task_work, the system may enter a state where it cannot make forward progress, resulting in an uninterruptible sleep warning. This issue can lead to system hangs and degraded performance, particularly in environments that rely heavily on asynchronous I/O operations.

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

Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the kernel update as soon as it is available.

Conclusion

CVE-2021-47504 presents a significant risk to systems running affected versions of the Linux kernel, particularly in environments utilizing the io_uring interface. Users are strongly advised to update their kernels to the fixed versions to ensure system stability and security. Monitoring tools like Vulert can assist in identifying vulnerabilities in your software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2021-47504 is a vulnerability in the Linux kernel's io_uring interface that can cause uninterruptible sleep states during work item cancellations.

This vulnerability can lead to system hangs and performance degradation, particularly in applications that rely on asynchronous I/O operations.

The vulnerability affects various versions of the Linux kernel across Debian 11, 12, and 13, with specific fixes available in version 5.15.15-1.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring signup.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risks associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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