Memory Leak of uid in Files Registration in io_uring

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002022: io_uring: fix memory leak of uid in files registration. Affects Kernel versions >= 08a451739a9b5783f67de51e84cb6d9559bb9dc4, < b27de7011cb3ba14b047be2cee0ed8278368665b. 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 io_uring package is a high-performance I/O interface for Linux that allows applications to perform asynchronous I/O operations efficiently. It provides a fast and scalable solution for handling file operations, networking, and other I/O tasks. However, a vulnerability has been discovered in the files registration process of io_uring, which can lead to a memory leak of the uid (user identifier) parameter. This vulnerability can potentially be exploited by an attacker to exhaust system memory resources and cause denial-of-service conditions.

Vulnerability Detail

The vulnerability in io_uring's files registration process occurs due to a memory leak of the uid parameter. When registering files, the uid is not properly released, leading to a gradual accumulation of memory over time. This can result in memory exhaustion, impacting the overall performance and stability of the system. An attacker could potentially exploit this vulnerability by repeatedly registering files with different uids, causing the system to run out of memory resources and become unresponsive.

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 limit the impact of this vulnerability by monitoring the memory usage of the system and taking appropriate actions to prevent memory exhaustion. This can include setting resource limits, monitoring system logs for abnormal memory usage, and implementing memory management strategies to optimize resource allocation.

Conclusion

In conclusion, the memory leak vulnerability in the files registration process of io_uring can lead to memory exhaustion and potential denial-of-service conditions. It is crucial to update the Linux Kernel to version v5.10.110 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

io_uring is a high-performance I/O interface for Linux that allows applications to perform asynchronous I/O operations efficiently. It provides a fast and scalable solution for handling file operations, networking, and other I/O tasks.

This vulnerability can lead to a memory leak in the files registration process of io_uring, resulting in memory exhaustion and potential denial-of-service conditions. It can impact the overall performance and stability of the system.

An attacker can exploit this vulnerability by repeatedly registering files with different uids, causing the system to gradually run out of memory resources and become unresponsive.

Yes, this vulnerability has been fixed in Linux Kernel version v5.10.110 by commit b27de7011cb3ba14b047be2cee0ed8278368665b.

To protect your system, it is recommended to update the Linux Kernel to version v5.10.110 or later, which includes the fix for 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