CVE-2025-38570
Linux Ubuntu vulnerability analysis and mitigation

Overview

A use-after-free vulnerability (CVE-2025-38570) was discovered in the Linux kernel's fbnic network driver, specifically in the AF_XDP portion. The vulnerability was disclosed on August 19, 2025, affecting the Linux kernel's network stack implementation. The issue occurs when the NAPI (New API) pointer is not properly cleared from the queue after a device fails to open (NVD Database).

Technical details

The vulnerability manifests as a use-after-free condition in the _skmarknapiidonce() call within the xskbind() function. The issue arises when the NAPI has been freed, but the device failed to open earlier, resulting in a failure to clear the NAPI pointer from the queue. This creates a potential security risk in the fbnic driver's AF_XDP implementation (NVD Database).

Impact

The vulnerability affects various Linux distributions and their kernel implementations, including Ubuntu and Debian systems. Multiple kernel versions across different distributions required patches to address this security issue (Debian Tracker).

Mitigation and workarounds

Various Linux distributions have released patches to address this vulnerability. Ubuntu has provided fixes across multiple kernel versions, including 6.8.0-40.40 for noble, 5.15.0-122.132 for jammy, and 5.4.0-196.216 for focal. Debian has also released fixes for affected versions in bullseye, bookworm, and trixie releases (Debian Tracker).

Additional resources


SourceThis report was generated using AI

Related Linux Ubuntu vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
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