In the Linux kernel, the following vulnerability has been resolved: usbnet: gl620a: fix out-of-bounds read in genelink_rx_fixup()… (CVE-2026-64540)
A vulnerability in the Linux kernel's usbnet driver for the GeneLink GL620A device allows an out-of-bounds read in the genelink_rx_fixup() function. This occurs because the function uses device-supplied packet lengths without verifying they fit within the actual received data buffer, potentially leaking kernel heap memory. The flaw can be triggered by a malicious USB device without requiring privileges. A fix has been implemented to verify packet lengths before copying data, preventing out-of-bounds reads.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel usbnet driver (gl620a) involves an out-of-bounds read in the genelink_rx_fixup() function. This function splits aggregated RX frames into individual packets using packet lengths from device data, bounded only by GL_MAX_PACKET_LEN (1514), but not checked against the actual received data size. A malicious GeneLink GL620A USB device can send a short URB with a header claiming multiple packets and a first packet length up to 1514 bytes, causing skb_put_data() to read beyond the receive buffer and leak adjacent kernel heap memory. This occurs in the USB network receive softirq context without requiring privileges. The patch moves skb_pull() verification ahead of the copy and rejects packets that overrun the received data, preserving normal operation for well-formed frames.
Potential Impact
An attacker controlling a malicious GeneLink GL620A USB device can cause the Linux kernel to perform an out-of-bounds read of kernel heap memory, potentially leaking sensitive kernel information. This occurs without requiring any privileges and can be triggered as soon as the network interface is up. The vulnerability does not allow code execution or privilege escalation directly but can aid in information disclosure and further attacks. The kernel's memory safety is compromised due to this flaw.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to verify packet lengths before copying data in the genelink_rx_fixup() function, preventing out-of-bounds reads. Users should apply the official kernel updates that include this patch. Since this is a kernel-level vulnerability, updating to a patched kernel version is the recommended remediation. Patch status is not explicitly stated here; check the vendor or Linux kernel advisory for the exact fixed version and update accordingly.
In the Linux kernel, the following vulnerability has been resolved: usbnet: gl620a: fix out-of-bounds read in genelink_rx_fixup()… (CVE-2026-64540)
Description
A vulnerability in the Linux kernel's usbnet driver for the GeneLink GL620A device allows an out-of-bounds read in the genelink_rx_fixup() function. This occurs because the function uses device-supplied packet lengths without verifying they fit within the actual received data buffer, potentially leaking kernel heap memory. The flaw can be triggered by a malicious USB device without requiring privileges. A fix has been implemented to verify packet lengths before copying data, preventing out-of-bounds reads.
CVSS v3.1
Score 8.1high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel usbnet driver (gl620a) involves an out-of-bounds read in the genelink_rx_fixup() function. This function splits aggregated RX frames into individual packets using packet lengths from device data, bounded only by GL_MAX_PACKET_LEN (1514), but not checked against the actual received data size. A malicious GeneLink GL620A USB device can send a short URB with a header claiming multiple packets and a first packet length up to 1514 bytes, causing skb_put_data() to read beyond the receive buffer and leak adjacent kernel heap memory. This occurs in the USB network receive softirq context without requiring privileges. The patch moves skb_pull() verification ahead of the copy and rejects packets that overrun the received data, preserving normal operation for well-formed frames.
Potential Impact
An attacker controlling a malicious GeneLink GL620A USB device can cause the Linux kernel to perform an out-of-bounds read of kernel heap memory, potentially leaking sensitive kernel information. This occurs without requiring any privileges and can be triggered as soon as the network interface is up. The vulnerability does not allow code execution or privilege escalation directly but can aid in information disclosure and further attacks. The kernel's memory safety is compromised due to this flaw.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to verify packet lengths before copying data in the genelink_rx_fixup() function, preventing out-of-bounds reads. Users should apply the official kernel updates that include this patch. Since this is a kernel-level vulnerability, updating to a patched kernel version is the recommended remediation. Patch status is not explicitly stated here; check the vendor or Linux kernel advisory for the exact fixed version and update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-rwwq-q965-ghfj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64540"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d09c2644c7f8476d79
Added to database: 07/30/2026, 15:50:40 UTC
Last enriched: 07/30/2026, 19:24:47 UTC
Last updated: 07/31/2026, 22:17:50 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.