CVEBrief

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.

Exploited in the wild
Not in CISA KEV
KEV 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
Exploit odds (EPSS)
0.21% in 30 days
higher than 13% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

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?

VendorProductAffectedFixed or not affected from
LinuxLinuxnot stated
LinuxLinuxfrom 2.6.27 until the fixed versions5.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?

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?

Every CVE in Linux

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.