NetSight
mittel4.7

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_sta…

Auswirkung

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

Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko für Ausfälle.

Betroffene Produkte

HerstellerProduktBetroffene Versionen
DebianDebian Linux
Version 11.0
LinuxLinux kernel
ab 3.5 vor 5.4.296
ab 5.5 vor 5.10.240
ab 5.11 vor 5.15.189
ab 5.16 vor 6.1.146
ab 6.2 vor 6.6.99
ab 6.7 vor 6.12.39

Schwachstellenklasse

Referenzen