CVE-2025-38324
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability was discovered in the Linux kernel's MPLS (MultiProtocol Label Switching) implementation, identified as CVE-2025-38324. The issue was reported by syzbot and affects the mplsrouteinputrcu() function when called from mplsgetroute(). The vulnerability was disclosed on July 10, 2025, and affects the Linux kernel version 6.15.0-rc7 and potentially other versions (NVD).

Technical details

The vulnerability stems from improper RCU (Read-Copy-Update) usage in the MPLS subsystem. Specifically, mplsrouteinputrcu() can be called from mplsgetroute() while under RTNL (Route Netlink) lock. The net->mpls.platform_label is only updated under RTNL, but the code was using an incorrect RCU dereference check. This triggered a suspicious RCU usage warning in the kernel's lockdep system (Debian Security).

Impact

The vulnerability could potentially lead to race conditions in the MPLS subsystem of the Linux kernel. While the immediate impact appears to be a kernel warning, the improper RCU usage could potentially result in memory corruption or system instability in certain conditions (CVE Mitre).

Mitigation and workarounds

The fix involves using rcudereferencertnl() in mplsrouteinputrcu() instead of the previous implementation. This ensures proper RCU usage when accessing the platformlabel under RTNL lock. The fix has been implemented in the Linux kernel, and affected distributions are releasing updated packages (Debian Security).

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-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-devel
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-headers
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025

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