Critical Buffer Management Flaw in Linux Kernel - CVE-2025-40364

linux Updated 02 Oct 2025

Summary

18/04/2025
N/A
Yes i
Unrated
Not published

CVE-2025-40364: In the Linux kernel, the following vulnerability has been resolved: io_uring: fix io_req_prep_async with provided buffers io_req_prep_async() can import provided buffers, commit the ring state by giving up on that before... Affects linux versions < 6.1.129-1. Fixed in 6.1.129-1. 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, managing hardware resources and providing essential services for software applications. It is known for its stability, performance, and flexibility, making it a popular choice for servers, desktops, and embedded systems. However, vulnerabilities can arise, such as CVE-2025-40364, which affects the io_uring subsystem responsible for asynchronous I/O operations, potentially leading to system instability or data corruption.

Vulnerability Detail

CVE-2025-40364 is a vulnerability in the Linux kernel's io_uring subsystem, specifically in the io_req_prep_async function. This function improperly handles provided buffers, which can lead to a situation where the ring state is committed prematurely. If the buffers are not correctly reimported later, it may result in unexpected behavior or crashes. This vulnerability poses risks of data loss or system crashes, particularly in environments that rely heavily on asynchronous I/O operations.

How To Fix

Minimum fixed version

6.1.129-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, no specific workarounds have been provided for this vulnerability. Users are advised to apply the available patches as soon as they are released.

Conclusion

CVE-2025-40364 is a critical vulnerability in the Linux kernel that affects buffer management in the io_uring subsystem. Users are strongly advised to update their systems to the latest patched versions to mitigate risks associated with this vulnerability.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-40364 is a vulnerability in the Linux kernel's io_uring subsystem that affects buffer management, potentially leading to system instability.

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

The risks include potential data loss, system crashes, and instability in applications that rely on asynchronous I/O operations.

You can update your Linux kernel using the terminal commands: 'sudo apt update' followed by 'sudo apt upgrade linux'. Ensure you have the correct patched version.

Currently, there are no specific workarounds available. It is recommended to apply the patches as soon as they are released.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.1.129-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.