CVE-2025-37920
Linux Kernel vulnerability analysis and mitigation

Overview

A race condition vulnerability was discovered in the Linux kernel's AFXDP generic RX path, identified as CVE-2025-37920. The vulnerability was disclosed on May 20, 2025, affecting the synchronization mechanism in shared umem mode where multiple sockets share a single xskbuff_pool (NVD, RedHat).

Technical details

The vulnerability stems from a synchronization issue where the rxlock needed to be moved from xsksocket to xskbuffpool. The issue occurs specifically in the generic RX path where multiple sockets share a single xskbuffpool. While the RX queue is exclusive to xsk_socket, the FILL queue can be shared between multiple sockets, leading to a race condition when two CPU cores access the RX path of different sockets sharing the same umem. The vulnerability has been assigned a CVSS v3.1 base score of 7.0 (AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) (RedHat).

Impact

The vulnerability could result in race conditions when multiple CPU cores simultaneously access the RX path of different sockets that share the same umem. This could potentially lead to data corruption or system instability (NVD).

Mitigation and workarounds

The fix involves protecting both queues by acquiring spinlock in shared xskbuffpool. The solution moves spinlockbh(rxlock) after xskrcvcheck() and implements proper synchronization through xskbind() and xskisbound() memory barriers. Lock contention may be minimized in the future by implementing per-thread FQ buffering (NVD).

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-40085N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-devel
NoNoOct 29, 2025
CVE-2025-40083N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-extra
NoYesOct 29, 2025
CVE-2023-7324N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-core
NoYesOct 29, 2025
CVE-2025-40082N/AN/A
  • Linux KernelLinux Kernel
  • kernel-abi-whitelists
NoNoOct 28, 2025
CVE-2025-40081N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-extra
NoNoOct 28, 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