CVE-2025-38448
MEDIUMLinux Kernel - Use-After-Free in USB Gadget Serial TTY Wakeup
Title source: llmDescription
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
References (10)
Core 10
Core References
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Scores
CVSS v3
4.7
EPSS
0.0005
EPSS Percentile
16.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-362
Status
published
Products (28)
debian/debian_linux
11.0
linux/Kernel
3.5.0 - 5.4.296linux
linux/Kernel
5.11.0 - 5.15.189linux
linux/Kernel
5.16.0 - 6.1.146linux
linux/Kernel
5.5.0 - 5.10.240linux
linux/Kernel
6.13.0 - 6.15.7linux
linux/Kernel
6.2.0 - 6.6.99linux
linux/Kernel
6.7.0 - 6.12.39linux
Linux/Linux
< 3.5
Linux/Linux
3.5
... and 18 more
Published
Jul 25, 2025
Tracked Since
Feb 18, 2026