Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: vhost: vringh: Modify the return value check The return value of copy_from_iter… (CVE-2025-40051)
In the Linux kernel, the following vulnerability has been resolved: vhost: vringh: Modify the return value check The return value of copy_from_iter and copy_to_iter can't be negative, check whether the copied lengths are equal.
AI Analysis
Technical Summary
The Linux kernel's vhost vringh component had a vulnerability where the return values of copy_from_iter and copy_to_iter functions were not properly validated. Specifically, the code assumed these return values could be negative, but they cannot be. The fix involved changing the check to verify that the lengths copied by these functions are equal, preventing potential incorrect handling of data copying operations.
Potential Impact
This vulnerability could lead to incorrect processing of data in the vhost vringh component, potentially resulting in confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:H/I:H/A:H). However, no known exploits are reported in the wild at this time.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by modifying the return value checks. Since no explicit patch links or vendor advisories are provided, users should update their Linux kernel to the latest version containing this fix once available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: vhost: vringh: Modify the return value check The return value of copy_from_iter… (CVE-2025-40051)
Description
In the Linux kernel, the following vulnerability has been resolved: vhost: vringh: Modify the return value check The return value of copy_from_iter and copy_to_iter can't be negative, check whether the copied lengths are equal.
CVSS v3.1
Score 7.8high
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's vhost vringh component had a vulnerability where the return values of copy_from_iter and copy_to_iter functions were not properly validated. Specifically, the code assumed these return values could be negative, but they cannot be. The fix involved changing the check to verify that the lengths copied by these functions are equal, preventing potential incorrect handling of data copying operations.
Potential Impact
This vulnerability could lead to incorrect processing of data in the vhost vringh component, potentially resulting in confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:H/I:H/A:H). However, no known exploits are reported in the wild at this time.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by modifying the return value checks. Since no explicit patch links or vendor advisories are provided, users should update their Linux kernel to the latest version containing this fix once available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9g2x-xr9c-j935
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-40051"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d79c2644c7f847b4d6
Added to database: 07/30/2026, 15:50:47 UTC
Last enriched: 07/30/2026, 16:22:03 UTC
Last updated: 09/10/2026, 19:24:56 UTC
Views: 33
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.