In the Linux kernel, the following vulnerability has been resolved: mlxsw: spectrum_router: Fix neighbour use-after-free We sometimes observe… (CVE-2025-68801)
A use-after-free vulnerability was identified and resolved in the Linux kernel's mlxsw spectrum_router component. The issue arose because the driver stored a pointer to a neighbour object without properly holding a reference, leading to potential use-after-free when dereferencing that neighbour. The fix involved simplifying the reference counting scheme to always take a reference when storing a neighbour pointer, preventing premature freeing. This vulnerability was reproducible and tested extensively before the patch was applied.
AI Analysis
Technical Summary
The Linux kernel's mlxsw spectrum_router driver had a use-after-free vulnerability due to improper reference counting of neighbour pointers. The driver stored neighbour pointers without holding references unless used by a nexthop, which sometimes led to dereferencing freed memory. The patch fixes this by always taking a reference when storing a neighbour pointer in a neighbour entry and removing redundant references when used by a nexthop. The fix was validated by repeated testing that previously reproduced the issue within a few iterations.
Potential Impact
This vulnerability allows local attackers with limited privileges to cause use-after-free conditions in kernel memory, potentially leading to kernel crashes or escalation of privileges due to memory corruption. The CVSS vector indicates local attack vector with low complexity, requiring privileges, and no user interaction, with high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by correcting the reference counting in the mlxsw spectrum_router driver. Users should update to a kernel version that includes this patch. Since no explicit patch links or fixed versions are provided, check the official Linux kernel advisories or vendor updates for the fixed kernel version. Patch status is not yet confirmed in this data — verify with vendor advisories for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: mlxsw: spectrum_router: Fix neighbour use-after-free We sometimes observe… (CVE-2025-68801)
Description
A use-after-free vulnerability was identified and resolved in the Linux kernel's mlxsw spectrum_router component. The issue arose because the driver stored a pointer to a neighbour object without properly holding a reference, leading to potential use-after-free when dereferencing that neighbour. The fix involved simplifying the reference counting scheme to always take a reference when storing a neighbour pointer, preventing premature freeing. This vulnerability was reproducible and tested extensively before the patch was applied.
CVSS v3.1
Score 7.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's mlxsw spectrum_router driver had a use-after-free vulnerability due to improper reference counting of neighbour pointers. The driver stored neighbour pointers without holding references unless used by a nexthop, which sometimes led to dereferencing freed memory. The patch fixes this by always taking a reference when storing a neighbour pointer in a neighbour entry and removing redundant references when used by a nexthop. The fix was validated by repeated testing that previously reproduced the issue within a few iterations.
Potential Impact
This vulnerability allows local attackers with limited privileges to cause use-after-free conditions in kernel memory, potentially leading to kernel crashes or escalation of privileges due to memory corruption. The CVSS vector indicates local attack vector with low complexity, requiring privileges, and no user interaction, with high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by correcting the reference counting in the mlxsw spectrum_router driver. Users should update to a kernel version that includes this patch. Since no explicit patch links or fixed versions are provided, check the official Linux kernel advisories or vendor updates for the fixed kernel version. Patch status is not yet confirmed in this data — verify with vendor advisories for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8ccp-78hm-hx73
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-68801"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d19c2644c7f84770a1
Added to database: 07/30/2026, 15:50:41 UTC
Last enriched: 07/30/2026, 19:12:58 UTC
Last updated: 09/10/2026, 19:38:46 UTC
Views: 8
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.