Skip to main content
EPSS 0.2%top 95%

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)

0
Medium
Published: 10/28/2025 (10/28/2025, 12:15:00 UTC)
Source: GCVE Database
Product: linux-hwe-edge

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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
<6.8.0-1050.53~22.04.1<6.8.0-1051.57~22.04.1<6.8.0-1052.55~22.04.1<6.8.0-106.106~22.04.1<6.8.0-1049.49~22.04.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 16:22:03 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses