# CVE-2026-64540: usbnet: gl620a: fix out-of-bounds read in genelink_rx_fixup()

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-07-27T20:10:33.905Z
- Modified: 2026-11-13T18:26:54.637Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

usbnet: gl620a: fix out-of-bounds read in genelink_rx_fixup()

genelink_rx_fixup() splits an aggregated RX frame into its individual
packets, using a per-packet length taken from device-supplied data. That
length is only bounded by GL_MAX_PACKET_LEN (1514); it is never compared
against how many bytes were actually received.

A malicious GeneLink (GL620A) device can therefore send a short URB whose
header claims packet_count > 1 and a first packet of up to 1514 bytes.

	skb_put_data(gl_skb, packet->packet_data, size);

then copies past the end of the receive buffer and hands the adjacent slab
contents up the network stack, an out-of-bounds read that leaks kernel heap.
No privilege is required: the path runs in the usbnet RX softirq as soon as
the interface is up.

  BUG: KASAN: slab-out-of-bounds in genelink_rx_fixup (drivers/net/usb/gl620a.c:112)
  Read of size 1514 at addr ffff888011309708 by task ksoftirqd/0/14
  Call Trace:
    ...
    __asan_memcpy (mm/kasan/shadow.c:105)
    genelink_rx_fixup (include/linux/skbuff.h:2814 drivers/net/usb/gl620a.c:112)
    usbnet_bh (drivers/net/usb/usbnet.c:572 drivers/net/usb/usbnet.c:1589)
    process_one_work (kernel/workqueue.c:3322)
    bh_worker (kernel/workqueue.c:3405)
    tasklet_action (kernel/softirq.c:965)
    handle_softirqs (kernel/softirq.c:622)
    run_ksoftirqd (kernel/softirq.c:1076)
    ...

skb_pull() already verifies that the requested length fits the buffer and
returns NULL otherwise. Move it ahead of the copy and check its result, so
a packet that overruns the received data is rejected before it is read.
Well-formed frames, whose packets are fully present, are unaffected.

(As written by CVE List.)

## Affected

- Linux Linux: from 47ee3051c856cc2aa95d35d577a8cb37279d540f before 255d03551f94c7bdd86c7d9181a70b21917d829f; from 47ee3051c856cc2aa95d35d577a8cb37279d540f before 4359376e6238d89977a35086e47ca3b07f43e850; from 47ee3051c856cc2aa95d35d577a8cb37279d540f before 8624e179fa3ce23c2fbd1a198ce30764b73f054a; from 47ee3051c856cc2aa95d35d577a8cb37279d540f before 573418f7ea8f859a841417eb4b915594094fd967; from 47ee3051c856cc2aa95d35d577a8cb37279d540f before 0575599e451aff3c5329922562374a2cab25fc51; from 47ee3051c856cc2aa95d35d577a8cb37279d540f before 0a7d9c7c5f1f208c523abbb4db6aea7bc1fad3db; from 47ee3051c856cc2aa95d35d577a8cb37279d540f before 3ef79fa3860e644c8de7834fa7300e1c58f38862; from 47ee3051c856cc2aa95d35d577a8cb37279d540f before 8ff7f2a6da4fccaa5cc9be7251a24e71e29fbd1a; 2.6.14 (not affected: before 2.6.14; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 2.6.14 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.97; from 6.13 before 6.18.40; from 6.19 before 7.1.5; 7.2

## References

- <https://git.kernel.org/stable/c/255d03551f94c7bdd86c7d9181a70b21917d829f> (patch)
- <https://git.kernel.org/stable/c/4359376e6238d89977a35086e47ca3b07f43e850> (patch)
- <https://git.kernel.org/stable/c/8624e179fa3ce23c2fbd1a198ce30764b73f054a> (patch)
- <https://git.kernel.org/stable/c/573418f7ea8f859a841417eb4b915594094fd967> (patch)
- <https://git.kernel.org/stable/c/0575599e451aff3c5329922562374a2cab25fc51> (patch)
- <https://git.kernel.org/stable/c/0a7d9c7c5f1f208c523abbb4db6aea7bc1fad3db> (patch)
- <https://git.kernel.org/stable/c/3ef79fa3860e644c8de7834fa7300e1c58f38862> (patch)
- <https://git.kernel.org/stable/c/8ff7f2a6da4fccaa5cc9be7251a24e71e29fbd1a> (patch)

## Sources

- CVE List: [CVE-2026-64540](https://www.cve.org/CVERecord?id=CVE-2026-64540), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64540](https://nvd.nist.gov/vuln/detail/CVE-2026-64540), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-64540 · Whole record: https://cve.day/CVE-2026-64540.json · Rebuilt by cve.day 2026-11-25T22:59:30.268Z
