CVE-2026-64540

Source
https://cve.org/CVERecord?id=CVE-2026-64540
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64540.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64540
Downstream
Related
Published
2026-07-27T20:10:33.905Z
Modified
2026-08-18T03:31:23.284078553Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
usbnet: gl620a: fix out-of-bounds read in genelink_rx_fixup()
Details

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

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

genelinkrxfixup() 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 GLMAXPACKET_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 genelinkrxfixup (drivers/net/usb/gl620a.c:112) Read of size 1514 at addr ffff888011309708 by task ksoftirqd/0/14 Call Trace: ... __asanmemcpy (mm/kasan/shadow.c:105) genelinkrxfixup (include/linux/skbuff.h:2814 drivers/net/usb/gl620a.c:112) usbnetbh (drivers/net/usb/usbnet.c:572 drivers/net/usb/usbnet.c:1589) processonework (kernel/workqueue.c:3322) bhworker (kernel/workqueue.c:3405) taskletaction (kernel/softirq.c:965) handlesoftirqs (kernel/softirq.c:622) runksoftirqd (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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64540.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
47ee3051c856cc2aa95d35d577a8cb37279d540f
Fixed
255d03551f94c7bdd86c7d9181a70b21917d829f
Fixed
4359376e6238d89977a35086e47ca3b07f43e850
Fixed
8624e179fa3ce23c2fbd1a198ce30764b73f054a
Fixed
573418f7ea8f859a841417eb4b915594094fd967
Fixed
0575599e451aff3c5329922562374a2cab25fc51
Fixed
0a7d9c7c5f1f208c523abbb4db6aea7bc1fad3db
Fixed
3ef79fa3860e644c8de7834fa7300e1c58f38862
Fixed
8ff7f2a6da4fccaa5cc9be7251a24e71e29fbd1a

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64540.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.14
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64540.json"