CVE-2025-38448usb: gadget: u_serial: Fix race condition in TTY wakeup
- 4.7MediumCVSS base score
- 0.14%Exploitation in 30 daysEPSS · top 96% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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
Timeline
ID reserved
By Linux
- 3 months later
· 3 months later
Published
- 10 months later
· 10 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.14% · top 96% of all CVEs (15 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.7.
Affected products
- affected 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 – < 18d58a467ccf011078352d91b4d6a0108c7318e8
- affected 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 – < d43657b59f36e88289a6066f15bc9a80df5014eb
- affected 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 – < a5012673d49788f16bb4e375b002d7743eb642d9
- affected 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 – < ee8d688e2ba558f3bb8ac225113740be5f335417
- affected 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 – < c6eb4a05af3d0ba3bc4e8159287722fb9abc6359
- affected 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 – < abf3620cba68e0e51e5c21054ce4f925f75b3661
- affected 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 – < c8c80a3a35c2e3488409de2d5376ef7e662a2bf5
- affected 35f95fd7f234d2b58803bab6f6ebd6bb988050a2 – < c529c3730bd09115684644e26bf01ecbd7e2c2c9
- affected 3.5
- unaffected < 3.5
- unaffected 5.4.296 – ≤ 5.4.*
- unaffected 5.10.240 – ≤ 5.10.*
- unaffected 5.15.189 – ≤ 5.15.*
- unaffected 6.1.146 – ≤ 6.1.*
- unaffected 6.6.99 – ≤ 6.6.*
- unaffected 6.12.39 – ≤ 6.12.*
- unaffected 6.15.7 – ≤ 6.15.*
- unaffected 6.16 – ≤ *
References
References10
- https://git.kernel.org/stable/c/18d58a467ccf011078352d91b4d6a0108c7318e8 (opens in a new tab)
- https://git.kernel.org/stable/c/d43657b59f36e88289a6066f15bc9a80df5014eb (opens in a new tab)
- https://git.kernel.org/stable/c/a5012673d49788f16bb4e375b002d7743eb642d9 (opens in a new tab)
- https://git.kernel.org/stable/c/ee8d688e2ba558f3bb8ac225113740be5f335417 (opens in a new tab)
- https://git.kernel.org/stable/c/c6eb4a05af3d0ba3bc4e8159287722fb9abc6359 (opens in a new tab)
- https://git.kernel.org/stable/c/abf3620cba68e0e51e5c21054ce4f925f75b3661 (opens in a new tab)
- https://git.kernel.org/stable/c/c8c80a3a35c2e3488409de2d5376ef7e662a2bf5 (opens in a new tab)
- https://git.kernel.org/stable/c/c529c3730bd09115684644e26bf01ecbd7e2c2c9 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-22693 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-38448)Record last updated .