cbcvebase.
CVE-2025-38448
published 2025-07-25

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…

medium4.7CVSS 3.1
AVLACHPRLUINSUCNINAH
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

38 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.147-1 (bookworm)linux 6.1.147-1 (bookworm)
debianlinux-6.1< linux 6.1.147-1 (bookworm)linux 6.1.147-1 (bookworm)
linuxlinux
linuxlinux>= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 < 18d58a467ccf011078352d91b4d6a0108c7318e818d58a467ccf011078352d91b4d6a0108c7318e8
linuxlinux>= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 < d43657b59f36e88289a6066f15bc9a80df5014ebd43657b59f36e88289a6066f15bc9a80df5014eb
linuxlinux>= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 < a5012673d49788f16bb4e375b002d7743eb642d9a5012673d49788f16bb4e375b002d7743eb642d9
linuxlinux>= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 < ee8d688e2ba558f3bb8ac225113740be5f335417ee8d688e2ba558f3bb8ac225113740be5f335417
linuxlinux>= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 < c6eb4a05af3d0ba3bc4e8159287722fb9abc6359c6eb4a05af3d0ba3bc4e8159287722fb9abc6359
linuxlinux>= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 < abf3620cba68e0e51e5c21054ce4f925f75b3661abf3620cba68e0e51e5c21054ce4f925f75b3661
linuxlinux>= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 < c8c80a3a35c2e3488409de2d5376ef7e662a2bf5c8c80a3a35c2e3488409de2d5376ef7e662a2bf5
linuxlinux>= 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 < c529c3730bd09115684644e26bf01ecbd7e2c2c9c529c3730bd09115684644e26bf01ecbd7e2c2c9
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.244-15.10.244-1
linuxlinux_kernel>= 0 < 6.1.147-16.1.147-1
linuxlinux_kernel>= 0 < 6.12.41-16.12.41-1
linuxlinux_kernel>= 0 < 6.16.3-16.16.3-1
linuxlinux_kernel>= 0 < 5.15.0-156.1665.15.0-156.166
linuxlinux_kernel>= 0 < 6.8.0-100.1006.8.0-100.100
linuxlinux_kernel>= 3.5 < 5.4.2965.4.296
linuxlinux_kernel>= 5.11 < 5.15.1895.15.189
linuxlinux_kernel>= 5.16 < 6.1.1466.1.146
linuxlinux_kernel>= 5.5 < 5.10.2405.10.240
linuxlinux_kernel>= 6.13 < 6.15.76.15.7
linuxlinux_kernel>= 6.2 < 6.6.996.6.99

CVSS provenance

nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv4.7MEDIUM