Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: io_uring: fix regbuf vector size truncation There is a report of… (CVE-2025-40291)
In the Linux kernel, the following vulnerability has been resolved: io_uring: fix regbuf vector size truncation There is a report of io_estimate_bvec_size() truncating the calculated number of segments that leads to corruption issues. Check it doesn't overflow "int"s used later. Rough but simple, can be improved on top.
AI Analysis
Technical Summary
The Linux kernel contained a vulnerability in the io_uring subsystem where the function io_estimate_bvec_size() truncated the calculated number of segments. This truncation could cause integer overflow in subsequent uses of these values, leading to memory corruption. The vulnerability has been addressed by fixing the regbuf vector size truncation. The CVSS 3.1 vector indicates a local attack vector with low complexity and low privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation of this vulnerability could result in significant memory corruption, potentially allowing an attacker with local access and low privileges to compromise system confidentiality, integrity, and availability. The high CVSS score reflects the critical nature of the impact if exploited.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Users and administrators should apply the official kernel updates that include this fix. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or Linux kernel advisory for the latest remediation guidance.
Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: io_uring: fix regbuf vector size truncation There is a report of… (CVE-2025-40291)
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring: fix regbuf vector size truncation There is a report of io_estimate_bvec_size() truncating the calculated number of segments that leads to corruption issues. Check it doesn't overflow "int"s used later. Rough but simple, can be improved on top.
CVSS v3.1
Score 7.8high
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel contained a vulnerability in the io_uring subsystem where the function io_estimate_bvec_size() truncated the calculated number of segments. This truncation could cause integer overflow in subsequent uses of these values, leading to memory corruption. The vulnerability has been addressed by fixing the regbuf vector size truncation. The CVSS 3.1 vector indicates a local attack vector with low complexity and low privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation of this vulnerability could result in significant memory corruption, potentially allowing an attacker with local access and low privileges to compromise system confidentiality, integrity, and availability. The high CVSS score reflects the critical nature of the impact if exploited.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel. Users and administrators should apply the official kernel updates that include this fix. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or Linux kernel advisory for the latest remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-hcjg-xhvj-4968
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-40291"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d49c2644c7f847953d
Added to database: 07/30/2026, 15:50:44 UTC
Last enriched: 07/30/2026, 17:39:22 UTC
Last updated: 09/10/2026, 19:24:56 UTC
Views: 30
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.