Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38448

MEDIUM 4.7EPSS 5%

usb: gadget: u_serial: Fix race condition in TTY wakeup

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < 18d58a467ccf011078352d91b4d6a0108c7318e8; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < d43657b59f36e88289a6066f15bc9a80df5014eb; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < a5012673d49788f16bb4e375b002d7743eb642d9; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < ee8d688e2ba558f3bb8ac225113740be5f335417; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c6eb4a05af3d0ba3bc4e8159287722fb9abc6359; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < abf3620cba68e0e51e5c21054ce4f925f75b3661; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c8c80a3a35c2e3488409de2d5376ef7e662a2bf5; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c529c3730bd09115684644e26bf01ecbd7e2c2c9
  • Anyone running Linux 3.5

Vulnerability facts

Affected
Linux >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < 18d58a467ccf011078352d91b4d6a0108c7318e8; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < d43657b59f36e88289a6066f15bc9a80df5014eb; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < a5012673d49788f16bb4e375b002d7743eb642d9; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < ee8d688e2ba558f3bb8ac225113740be5f335417; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c6eb4a05af3d0ba3bc4e8159287722fb9abc6359; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < abf3620cba68e0e51e5c21054ce4f925f75b3661; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c8c80a3a35c2e3488409de2d5376ef7e662a2bf5; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c529c3730bd09115684644e26bf01ecbd7e2c2c9; Linux 3.5
Fixed in
Linux 18d58a467ccf011078352d91b4d6a0108c7318e8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
CWE
CWE-362
Published
Modified

Description

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < 18d58a467ccf011078352d91b4d6a0108c7318e8; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < d43657b59f36e88289a6066f15bc9a80df5014eb; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < a5012673d49788f16bb4e375b002d7743eb642d9; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < ee8d688e2ba558f3bb8ac225113740be5f335417; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c6eb4a05af3d0ba3bc4e8159287722fb9abc6359; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < abf3620cba68e0e51e5c21054ce4f925f75b3661; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c8c80a3a35c2e3488409de2d5376ef7e662a2bf5; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c529c3730bd09115684644e26bf01ecbd7e2c2c9—cvelist
Linux3.5—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-38448. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38448.md
Affected: Linux >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < 18d58a467ccf011078352d91b4d6a0108c7318e8; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < d43657b59f36e88289a6066f15bc9a80df5014eb; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < a5012673d49788f16bb4e375b002d7743eb642d9; >= 35f95fd7f234d2b58803bab…
Fixed in: Linux 18d58a467ccf011078352d91b4d6a0108c7318e8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-38448 being exploited?

There is no confirmed exploitation: CVE-2025-38448 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-38448?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-38448?

Linux >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < 18d58a467ccf011078352d91b4d6a0108c7318e8; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < d43657b59f36e88289a6066f15bc9a80df5014eb; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < a5012673d49788f16bb4e375b002d7743eb642d9; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < ee8d688e2ba558f3bb8ac225113740be5f335417; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c6eb4a05af3d0ba3bc4e8159287722fb9abc6359; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < abf3620cba68e0e51e5c21054ce4f925f75b3661; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c8c80a3a35c2e3488409de2d5376ef7e662a2bf5; >= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c529c3730bd09115684644e26bf01ecbd7e2c2c9; Linux 3.5.

Is there a fix for CVE-2025-38448?

Yes. Fixed in Linux 18d58a467ccf011078352d91b4d6a0108c7318e8. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-38448?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors