Skip to main content
EPSS 0.4%top 65%

In the Linux kernel, the following vulnerability has been resolved: ipv4: start using dst_dev_rcu() Change icmpv4_xrlim_allow(), ip_defrag() to… (CVE-2025-40074)

0
Critical
Published: 10/28/2025 (10/28/2025, 12:30:17 UTC)
Source: GCVE Database

Description

A critical use-after-free vulnerability in the Linux kernel's IPv4 implementation has been resolved by changes to several functions including icmpv4_xrlim_allow() and ip_defrag(). The fix involves using dst_dev_rcu() with lockdep enabled to prevent the vulnerability. This issue could allow an attacker to cause high impact on confidentiality, integrity, and availability if exploited.

CVSS v3.1

Score 9.8critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/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:23:07 UTC

Technical Analysis

CVE-2025-40074 is a critical vulnerability in the Linux kernel's IPv4 networking code. The issue involves a possible use-after-free (UAF) condition in functions such as icmpv4_xrlim_allow() and ip_defrag(). The vulnerability was addressed by modifying these functions and others (ipmr_prepare_xmit(), ipmr_queue_fwd_xmit(), ip_mr_output(), ipv4_neigh_lookup()) to use the lockdep-enabled dst_dev_rcu() mechanism. This change prevents the UAF condition by ensuring proper reference counting and synchronization of network device structures.

Potential Impact

Exploitation of this vulnerability could lead to complete compromise of the affected system, impacting confidentiality, integrity, and availability. The CVSS vector indicates network attack vector, low attack complexity, no privileges or user interaction required, and full impact on all security properties (C:H/I:H/A:H). No known exploits are reported in the wild at this time.

Mitigation Recommendations

The vulnerability has been resolved in the Linux kernel by the changes described. Although no explicit patch links are provided, the vendor advisory (Linux kernel maintainers) confirms the issue is fixed. Users should update to the latest Linux kernel versions containing these fixes. Patch status is not explicitly confirmed here; check the official Linux kernel advisories or distribution security updates for the exact fixed versions and apply them promptly.

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-g35w-4vfx-hjpg
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40074"]
Database Specific Severity
CRITICAL
Cvss Version
3.1

Threat ID: 6a6b72d79c2644c7f847b1d7

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

Last enriched: 07/30/2026, 16:23:07 UTC

Last updated: 09/12/2026, 10:01:28 UTC

Views: 53

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