CVE-2025-38448
Linux Kernel vulnerability analysis and mitigation

Overview

A race condition vulnerability (CVE-2025-38448) was discovered in the Linux kernel's USB gadget serial driver (u_serial). The vulnerability was disclosed on July 25, 2025, affecting the TTY wakeup functionality in the USB gadget subsystem (NVD).

Technical details

The vulnerability occurs when gs_start_io() calls either gs_start_rx() or gs_start_tx(), as these functions briefly drop the port_lock during usb_ep_queue() execution. This temporary lock release creates a race condition that allows gs_close() and gserial_disconnect() to clear port.tty and port_usb respectively, potentially leading to a null pointer dereference (RedHat). The vulnerability has been assigned a CVSS v3.1 base score of 6.2 with attack vector: Local, attack complexity: Low, privileges required: None, user interaction: None, scope: Unchanged, and impact on confidentiality: None, integrity: None, availability: High.

Impact

The vulnerability can result in a kernel crash due to null pointer dereference, potentially leading to a local denial of service condition. This affects systems where the USB gadget serial driver is in use (RedHat).

Mitigation and workarounds

The vulnerability has been patched by implementing a null-safe TTY Port helper function for wakeup operations. The fix involves using tty_port_tty_wakeup() instead of direct TTY access to prevent the race condition (RedHat).

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-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-oracle
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel
NoYesJan 05, 2026

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