CVE-2025-38617
Linux Kernel vulnerability analysis and mitigation

Overview

A race condition vulnerability has been identified in the Linux kernel (CVE-2025-38617) affecting the packet subsystem, specifically in the interaction between packetsetring() and packet_notifier() functions. The vulnerability was discovered and disclosed in August 2025, affecting the Linux kernel's networking components (NVD).

Technical details

The vulnerability occurs when packetsetring() releases po->bindlock, allowing another thread to run packetnotifier() and process an NETDEVUP event. This race condition is similar to a previously fixed issue (commit 15fe076edea7) where packetnotifier NETDEVUP event could run while a po->bindlock critical section had to be temporarily released. The fix involves temporarily setting po->num to zero to keep the socket unhooked until the lock is retaken (NVD).

Impact

While specific impact details are not fully disclosed in the available sources, the vulnerability affects the Linux kernel's networking stack and could potentially lead to race conditions in packet processing, which might affect network functionality or security.

Mitigation and workarounds

The vulnerability has been fixed in various Linux kernel versions across different distributions. Ubuntu has implemented fixes in kernel version 6.8.0-40.40 for noble (24.04 LTS) and similar versions for other kernel variants. The fix has also been backported to different kernel branches (Ubuntu).

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-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-gcp-5.15
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-64k-debug-core
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-debug-kvm
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-fde-6.14
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