Home / Linux / Linux / CVE-2026-142985
CVE-2026-142985: is it exploited, and which versions of Linux are affected and fixed?
CVE-2026-142985 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 22:39 UTC). Affected: Linux from 2.6.27 until the fixed versions (CVE record by Linux). Fixed in 5.10.276, 5.15.227, 6.12.120, 6.18.66 and 2 more (CVE record by Linux).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 22:39 UTC, CVE record December 3, 2026, 09:20 UTC and NVD December 3, 2026, 11:13 UTC.
What is CVE-2026-142985?
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_serial: fix NULL deref in gs_close() after failed open gs_close() opens with struct gs_port *port = tty->driver_data; ... spin_lock_irq(&port->port_lock); and never checks port. gs_open() assigns tty->driver_data only on the port.count 0 -> 1 edge, so any failure earlier in gs_open() leaves it NULL, and tty_open() calls tty_release(), and hence ->close(), when ->open() fails. syzbot hit exactly this on arm64. Fault injection failed the kfifo_alloc() of the write buffer in gs_open(): __kfifo_alloc_node+0x10c/0x208 lib/kfifo.c:44 gs_open+0x144/0x514 drivers/usb/gadget/function/u_serial.c:636 tty_open+0x404/0x89c drivers/tty/tty_io.c:2137 and the tty core's close of the failed open then took port_lock through the NULL port: BUG: unable to handle kernel paging request in gs_close KASAN: null-ptr-deref in range [0x00000000000003a0-0x00000000000003a7] Call trace: spin_lock_irq include/linux/spinlock.h:372 [inline] gs_close+0xac/0x65c drivers/usb/gadget/function/u_serial.c:698 tty_release+0x2c4/0xffc drivers/tty/tty_io.c:1745 tty_open+0x46c/0x89c drivers/tty/tty_io.c:2146 Return early instead. There is nothing to release when the open never got far enough to claim the port. Unlike the check reverted by commit f6c7bc4a6823 ("Revert "usb: gadget: u_serial: Add null pointer check in gs_start_io""), this is not hiding a race: the tty core calls ->close() for an ->open() that failed by design, so driver_data is legitimately unset on that path.
From the CVE record by Linux, last updated December 3, 2026, 09:17 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | not stated | |
| Linux | Linux | from 2.6.27 until the fixed versions | 5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7, 7.4-rc4 |
As the CVE record by Linux states it, last updated December 3, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Is CVE-2026-142985 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.21% probability of exploitation activity in the next 30 days, percentile 12.6 (FIRST EPSS, scores of December 3, 2026)
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/ece1756e054ffcb38a8aab7d0ab7d0e02e65dd99
- https://git.kernel.org/stable/c/ce8c7b4b562aa7c3847145dc2e3a2d0953a054b2
- https://git.kernel.org/stable/c/63b69946c0de838af7324a504766fa13ad947d3d
- https://git.kernel.org/stable/c/ea6e4e3a7c8453674337c7773cf3b101f328c876
- https://git.kernel.org/stable/c/d010585071193e268c4152df2b3281255280529b
- https://git.kernel.org/stable/c/ea6cf69ad03c8d85138830c0d2c3b946b5ae231d
When was it published, and where is the official record?
- Reserved
- December 3, 2026
- Published
- December 3, 2026, 09:17 UTC
- CVE record updated
- December 3, 2026, 09:17 UTC by Linux
- NVD
- Received, last modified December 3, 2026, 10:17 UTC
- Last checked
- CVE list December 3, 2026, 09:20 UTC; NVD December 3, 2026, 11:13 UTC; KEV December 3, 2026, 22:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2026-142985
Is CVE-2026-142985 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 22:39 UTC. FIRST's EPSS gives it a 0.21% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux are affected by CVE-2026-142985?
Linux from 2.6.27 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2026-142985?
5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7 and 7.4-rc4, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
Where is the official record of CVE-2026-142985?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.