CVE-2025-38448: usb: gadget: u_serial: Fix race condition in TTY wakeup
Vulnerability summary
CVE-2025-38448 is a medium (CVSS 4.7) vulnerability in debian debian_linux. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.4% of scored vulnerabilities.
Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 53 · Related 47Timeline
- 25-07-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.14%
Chance of exploitation in the next 30 days
Percentile
3%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.12% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu147 products
- linuxAll versions (No fix recorded) | < 5.15.0-156.166 | < 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1092.99 | < 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.1.147-1 | < 6.12.41-1 | < 6.16.3-1
- debian_linuxEOL11.0
Linux2 products
- linux≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < 18d58a467ccf011078352d91b4d6a0108c7318e8 | ≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < d43657b59f36e88289a6066f15bc9a80df5014eb | ≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < a5012673d49788f16bb4e375b002d7743eb642d9 | ≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < ee8d688e2ba558f3bb8ac225113740be5f335417 | ≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c6eb4a05af3d0ba3bc4e8159287722fb9abc6359 | ≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < abf3620cba68e0e51e5c21054ce4f925f75b3661 | ≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c8c80a3a35c2e3488409de2d5376ef7e662a2bf5 | ≥ 35f95fd7f234d2b58803bab6f6ebd6bb988050a2, < c529c3730bd09115684644e26bf01ecbd7e2c2c9 | 3.5
- linux_kernel≥ 3.5, < 5.4.296 | ≥ 5.5, < 5.10.240 | ≥ 5.11, < 5.15.189 | ≥ 5.16, < 6.1.146 | ≥ 6.2, < 6.6.99 | ≥ 6.7, < 6.12.39 | ≥ 6.13, < 6.15.7 | 6.16:rc1 | 6.16:rc2 | 6.16:rc3 | 6.16:rc4
3 vendors · 151 products
References
46 links- lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlThird Party Advisory
- lists.debian.org/debian-lts-announce/2025/10/msg00007.htmlThird Party Advisory