Home / Linux / Linux / CVE-2026-142971
CVE-2026-142971: is it exploited, and which versions of Linux are affected and fixed?
CVE-2026-142971 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, 18:09 UTC). Affected: Linux from 2.6.12 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, 18:09 UTC, CVE record December 3, 2026, 09:20 UTC and NVD December 3, 2026, 11:13 UTC.
What is CVE-2026-142971?
In the Linux kernel, the following vulnerability has been resolved: USB: serial: garmin_gps: validate packet data length in nat_receive() In nat_receive() (called from garmin_write() when userspace writes to /dev/ttyUSBn in MODE_NATIVE mode), while garmin_data_p->insize is less than GARMIN_PKTHDR_LENGTH (12), the loop copies up to 12 bytes into garmin_data_p->inbuffer. Once garmin_data_p->insize reaches GARMIN_PKTHDR_LENGTH, nat_receive() computes the total packet size as: len = GARMIN_PKTHDR_LENGTH + getDataLength(garmin_data_p->inbuffer); Because getDataLength() returns a signed int from __le32_to_cpup(), a 12-byte header with a negative 32-bit length field (such as 0xfffffff5, i.e., -11) causes len to underflow to a small positive value (12 + (-11) = 1) without any bounds check at that point. Then garmin_data_p->insize >= len (12 >= 1) evaluates to true and nat_receive() calls garmin_write_bulk(port, inbuffer, 1, 0), which allocates a 1-byte slab buffer via kmemdup() and immediately reads 4 bytes from it in getLayerId(buffer) (and again in garmin_write_bulk_callback() when the URB completes): BUG: KASAN: slab-out-of-bounds in garmin_write_bulk.constprop.0+0x3eb/0x500 Read of size 4 at addr ffff888002cc0ba0 by task init/1 Call Trace: <TASK> dump_stack_lvl+0x70/0xa0 print_report+0x153/0x4c6 kasan_report+0xf1/0x120 garmin_write_bulk.constprop.0+0x3eb/0x500 garmin_write+0x60f/0x1450 serial_write+0x123/0x200 n_tty_write+0x8ea/0xeb0 file_tty_write.isra.0+0x44f/0x7a0 vfs_write+0x671/0xd20 Validate the unsigned 32-bit data length (dlen >= GPS_IN_BUFSIZ - GARMIN_PKTHDR_LENGTH, matching the existing len >= GPS_IN_BUFSIZ bound) in nat_receive() as soon as the 12-byte header is present, resetting insize and returning -EINVPKT on invalid lengths so garmin_write_bulk() is only ever called with a full valid packet header (12 <= len < GPS_IN_BUFSIZ). Tested in QEMU against Linux 7.3.0-rc3 by emulating a Garmin USB GPS device (091e:0003) via dummy_hcd + raw-gadget, switching /dev/ttyUSB0 to MODE_NATIVE via PRIV_PKTID_SET_MODE, and writing a 12-byte native packet with data length 0xfffffff5: on the unfixed kernel this triggers KASAN slab-out-of-bounds reads in garmin_write_bulk() and garmin_write_bulk_callback(), whereas on the fixed kernel nat_receive() rejects the packet with -EINVPKT and 0 KASAN faults. [ johan: move comment and dev_dbg(); add comment about redundant check ]
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.12 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-142971 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/4eb2cba206a3d23094b698c7f32c91f05dd04d49
- https://git.kernel.org/stable/c/f669abbb186f8de34c775855c64e8659ecb365a1
- https://git.kernel.org/stable/c/f4565811b80e8302eb3a25b01fa9d3dc803bbd16
- https://git.kernel.org/stable/c/40d8518dd43dd0edcd83a347f1854058b123c7ba
- https://git.kernel.org/stable/c/c6e790c0b9166e91d1c5d638c14f24c7b6dcec9e
- https://git.kernel.org/stable/c/ca783a2d55b3361493917ad4a3573715ba902503
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, 18:09 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-142971
Is CVE-2026-142971 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 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-142971?
Linux from 2.6.12 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2026-142971?
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-142971?
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.