Skip to main content
Network Thinking Solutions Logo

CVE-2025-38448

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_serial: Fix race condition in TTY wakeup A race condition occurs when gs_start_io() calls either gs_start_rx() or gs_start_tx(), as those functions briefly drop the port_lock for usb_ep_queue().

All CVEs
CVE-2025-38448Published 7/25/2025

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_serial: Fix race condition in TTY wakeup A race condition occurs when gs_start_io() calls either gs_start_rx() or gs_start_tx(), as those functions briefly drop the port_lock for usb_ep_queue().

Vendor advisory
CVSS4.7Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_serial: Fix race condition in TTY wakeup A race condition occurs when gs_start_io() calls either gs_start_rx() or gs_start_tx(), as those functions briefly drop the port_lock for usb_ep_queue(). This allows gs_close() and gserial_disconnect() to clear port.tty and port_usb, respectively. Use the null-safe TTY Port helper function to wake up TTY. Example CPU1: CPU2: gserial_connect() // lock gs_close() // await lock gs_start_rx() // unlock usb_ep_queue() gs_close() // lock, reset port.tty and unlock gs_start_rx() // lock tty_wakeup() // NPE

Published
7/25/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.5, < 5.4.296

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.240

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.189

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.146

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.99

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.39

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.15.7

Verify advisory

Source
linux kernel
linux
6.16

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
debian linux
debian
11.0

Verify advisory

Source
Linux
Linux
≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < 18d58a467ccf011078352d91b4d6a0108c7318e8

Verify advisory

Source
Linux
Linux
≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < d43657b59f36e88289a6066f15bc9a80df5014eb

Verify advisory

Source
Linux
Linux
≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < a5012673d49788f16bb4e375b002d7743eb642d9

Verify advisory

Source
Linux
Linux
≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < ee8d688e2ba558f3bb8ac225113740be5f335417

Verify advisory

Source
Linux
Linux
≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c6eb4a05af3d0ba3bc4e8159287722fb9abc6359

Verify advisory

Source
Linux
Linux
≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < abf3620cba68e0e51e5c21054ce4f925f75b3661

Verify advisory

Source
Linux
Linux
≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c8c80a3a35c2e3488409de2d5376ef7e662a2bf5

Verify advisory

Source
Linux
Linux
≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c529c3730bd09115684644e26bf01ecbd7e2c2c9

Verify advisory

Source
Linux
Linux
3.5

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 4.7. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.