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-1001427: io_uring: fix memory leak of uid in files registration. Affects Kernel versions >= 08a451739a9b5783f67de51e84cb6d9559bb9dc4, < d6d7a517e81accf6ed22d55684baea763d2dbe43. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 scalable and flexible solution for handling I/O requests. However, a vulnerability has been discovered in the package that leads to a memory leak of the uid (user identifier) during files registration. This vulnerability can potentially be exploited by an attacker to exhaust system memory and cause denial-of-service conditions.

Vulnerability Detail

The vulnerability in io_uring arises from a memory leak of the uid in files registration. When registering files with io_uring, the uid is not properly released, resulting in a continuous allocation of memory without deallocation. This can lead to a gradual depletion of system memory resources, eventually causing the system to become unresponsive or crash. The vulnerability was introduced in version v5.5 of the Linux Kernel and has been fixed in version v5.16.19.

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 mitigate the impact of this vulnerability by limiting the usage of io_uring in their applications or by closely monitoring system memory usage. Additionally, implementing proper resource management practices and regularly monitoring for memory leaks in applications utilizing io_uring can help identify and address potential issues.

Conclusion

The memory leak vulnerability in io_uring can have serious consequences, including system instability and denial-of-service conditions. It is crucial to update the Linux Kernel to the fixed version to ensure the proper handling of uid in files registration. For further support on 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 enables efficient asynchronous I/O operations.

The vulnerability can lead to a memory leak, causing gradual depletion of system memory and potential denial-of-service conditions.

Updating the Linux Kernel to version v5.16.19 or later will address the memory leak issue.

Users can mitigate the impact by limiting io_uring usage or monitoring system memory closely.

This vulnerability was discovered through security analysis and testing of the io_uring package.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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