CVE-2025-38019
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38019 is a use-after-free vulnerability discovered in the Linux kernel's mlxsw spectrum_router component, specifically affecting the handling of GRE net devices. The vulnerability was disclosed on June 18, 2025, and impacts the Linux kernel's network device management system (NVD, Debian Tracker).

Technical details

The vulnerability occurs in the driver's handling of neighbor configurations during reload operations. The driver normally only offloads neighbors constructed on top of registered net devices or their uppers (Ethernet devices). However, during reload operations, the driver fails to perform proper validation checks on existing neighbors, leading to improper offloading of previously added neighbors on GRE net devices. This oversight in validation occurs specifically when the driver is reloaded and existing configurations are replayed (NVD).

Impact

When exploited, this vulnerability can result in a use-after-free condition when deleting GRE net devices, potentially leading to system crashes or memory corruption. The issue specifically manifests when the driver continues to reference freed memory after a neighbor deletion operation (Wiz).

Mitigation and workarounds

The issue has been fixed by implementing a check that skips neighbor replay if the net device for which the replay is performed is not an upper device. Several Linux distributions have released patches, including Debian which has fixed versions available for various releases including bullseye, bookworm, and trixie (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-doc
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-stablelists
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management