Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D7E0427F93 for ; Mon, 27 Jul 2026 20:11:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785183088; cv=none; b=pCwElgF+/fTzGGJvuUz3X5OQHxZ227TA8M3EVNbQA8ZxhXPKVVl0E+1UryopprYDe48c+z49DLp2XkDtgeZHy4Qji/VheozRhGa9w0y3ThNTMRckoBIpbwSSk1if9KeLNvbLOLAggWB53W+srsALd+d5tn9Sc7xHwKGeA6hvDiA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785183088; c=relaxed/simple; bh=WWQ7f00kty2eM1YLJWs2kGGDltr8lM3I1AagvjoT+js=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=W2ryWag1rTxAD9TruVEIrj5Gyk0pN968QqtEUIO9yUXFC4Q5W+deWZmfc+aVhXnZ+ZpiHiL6AV8LC2+7HiuzDxxkaT0xoBVVpzj/gZUyYbmMqvEK27YoN4s7oCaFrFUemn+QUzv/Y1h8fwxtdjEATbQbYckVbYYl32Ab39213uY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LfuqGGty; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="LfuqGGty" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65A4A1F000E9; Mon, 27 Jul 2026 20:11:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1785183086; bh=KFBUa19OCWvYjt/THrGGszAoPfYlz2dClxGZG4voyWc=; h=From:To:Cc:Subject:Date:Reply-To; b=LfuqGGtyrUVUC/xSayUX7uH7X3J21Nj95cokeB4KGAHsJ2sad0NeiOPU3MQ5TqaxL R9z/ges0pPCqNCmbsoOcnwlaZ78hHEkBmLo2THV+3ur52jb2v+w4W0wC8XSp2MmN5n NcUHmSOlSURnvSRO3rKl2y0swX7+TI7T9hwcvYTU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64540: usbnet: gl620a: fix out-of-bounds read in genelink_rx_fixup() Date: Mon, 27 Jul 2026 22:10:38 +0200 Message-ID: <2026072735-CVE-2026-64540-d315@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4791; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2VY1NbTPdioAdZsrsCk4GufCDgu3ALUh4eo6PJGmEtc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnpu63dLtTf0DFd0aEakjn/sqEf5xW+D4cvzdgvfePKp 8Mvogxfd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEDlcwzPdwnHnjv2pf+Vz2 8y9mW863Y7XZu4NhweWFn7Y/mfoj4N8+d3cmtfJ8rhSlhQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-64540 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.14 with commit 47ee3051c856cc2aa95d35d577a8cb37279d540f and fixed in 5.10.261 with commit 255d03551f94c7bdd86c7d9181a70b21917d829f Issue introduced in 2.6.14 with commit 47ee3051c856cc2aa95d35d577a8cb37279d540f and fixed in 5.15.212 with commit 4359376e6238d89977a35086e47ca3b07f43e850 Issue introduced in 2.6.14 with commit 47ee3051c856cc2aa95d35d577a8cb37279d540f and fixed in 6.1.178 with commit 8624e179fa3ce23c2fbd1a198ce30764b73f054a Issue introduced in 2.6.14 with commit 47ee3051c856cc2aa95d35d577a8cb37279d540f and fixed in 6.6.145 with commit 573418f7ea8f859a841417eb4b915594094fd967 Issue introduced in 2.6.14 with commit 47ee3051c856cc2aa95d35d577a8cb37279d540f and fixed in 6.12.97 with commit 0575599e451aff3c5329922562374a2cab25fc51 Issue introduced in 2.6.14 with commit 47ee3051c856cc2aa95d35d577a8cb37279d540f and fixed in 6.18.40 with commit 0a7d9c7c5f1f208c523abbb4db6aea7bc1fad3db Issue introduced in 2.6.14 with commit 47ee3051c856cc2aa95d35d577a8cb37279d540f and fixed in 7.1.5 with commit 3ef79fa3860e644c8de7834fa7300e1c58f38862 Issue introduced in 2.6.14 with commit 47ee3051c856cc2aa95d35d577a8cb37279d540f and fixed in 7.2-rc2 with commit 8ff7f2a6da4fccaa5cc9be7251a24e71e29fbd1a Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-64540 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/usb/gl620a.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/255d03551f94c7bdd86c7d9181a70b21917d829f https://git.kernel.org/stable/c/4359376e6238d89977a35086e47ca3b07f43e850 https://git.kernel.org/stable/c/8624e179fa3ce23c2fbd1a198ce30764b73f054a https://git.kernel.org/stable/c/573418f7ea8f859a841417eb4b915594094fd967 https://git.kernel.org/stable/c/0575599e451aff3c5329922562374a2cab25fc51 https://git.kernel.org/stable/c/0a7d9c7c5f1f208c523abbb4db6aea7bc1fad3db https://git.kernel.org/stable/c/3ef79fa3860e644c8de7834fa7300e1c58f38862 https://git.kernel.org/stable/c/8ff7f2a6da4fccaa5cc9be7251a24e71e29fbd1a