Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 65%

In the Linux kernel, the following vulnerability has been resolved: ipv6: use RCU in ip6_output() Use RCU in ip6_output() in order to use… (CVE-2025-40158)

0
High
Published: 11/12/2025 (11/12/2025, 12:30:28 UTC)
Source: GCVE Database

Description

A use-after-free (UAF) vulnerability in the Linux kernel's IPv6 output processing (ip6_output) was resolved by adopting Read-Copy-Update (RCU) mechanisms. This fix prevents potential memory safety issues by ensuring proper synchronization when accessing network device structures. The vulnerability was addressed by removing redundant RCU lock pairs and using dst_dev_rcu() safely. The issue is rated high severity due to its potential impact on confidentiality, integrity, and availability.

CVSS v3.1

Score 8.1high

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 16:53:27 UTC

Technical Analysis

CVE-2025-40158 is a high-severity vulnerability in the Linux kernel involving the IPv6 output function ip6_output(). The flaw stemmed from improper synchronization that could lead to a use-after-free condition when accessing network device data structures. The fix involved using RCU (Read-Copy-Update) mechanisms in ip6_output() to safely access dst_dev_rcu(), eliminating the risk of use-after-free. Additionally, redundant rcu_read_lock()/rcu_read_unlock() calls were removed from ip6_finish_output2(). This vulnerability has been resolved in the Linux kernel source, though no specific affected versions or patch links are provided in the data.

Potential Impact

The vulnerability could allow an attacker to exploit a use-after-free condition in the IPv6 output path of the Linux kernel, potentially leading to arbitrary code execution or kernel crashes, impacting confidentiality, integrity, and availability of affected systems. The CVSS vector indicates network attack vector with high complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

A fix for this vulnerability has been implemented in the Linux kernel by adopting RCU usage in ip6_output() and removing redundant RCU lock pairs. No specific patch links are provided, so users should update to the latest Linux kernel versions where this fix is included. Patch status is not yet confirmed from vendor advisories; users should monitor official Linux kernel security advisories for the exact fixed versions and apply updates accordingly.

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-4g43-pmw7-v27w
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40158"]
Ecosystems
[]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d69c2644c7f847a5a5

Added to database: 07/30/2026, 15:50:46 UTC

Last enriched: 07/30/2026, 16:53:27 UTC

Last updated: 07/31/2026, 19:24:47 UTC

Views: 2

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

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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