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)
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.
AI Analysis
Technical Summary
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.
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)
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
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 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.