CVE-2021-29265
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-29265 is a vulnerability discovered in the Linux kernel before version 5.11.7, specifically in the usbipsockfdstore function within drivers/usb/usbip/stub_dev.c. The vulnerability was disclosed on March 26, 2021, affecting the USB/IP driver implementation. The issue stems from race conditions during the update of local and shared status in the stub-up sequence (NVD, Ubuntu).

Technical details

The vulnerability occurs in the USB/IP host (server) implementation where race conditions exist in updating the local and shared status. The issue specifically involves the stub-up sequence having race conditions during updates of the local and shared status, which can lead to a General Protection Fault (GPF). The vulnerability has been assigned a CVSS v3.1 Base Score of 4.7 (Medium) with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability allows attackers to cause a denial of service condition through a General Protection Fault (GPF). The impact is primarily focused on system availability, with no direct impact on confidentiality or integrity (NVD, Ubuntu).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 5.11.7 through a patch that addresses the race conditions in the stub-up sequence. The fix includes proper handling of thread creation errors and synchronization of local and shared states. Various Linux distributions have also released patches for their respective versions, including Ubuntu and Debian (Kernel Patch).

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-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