Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 AC938259CA7 for ; Fri, 2 May 2025 15:57:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746201475; cv=none; b=LYsrLbg1Pk0ptSmAXQ+P/ntRsULXLbTP8eC9Fiwsrxyx+arZ3C89ZfCPCQZmK8jU0EiHsuDAwtVxYsCQRtS9o4GsVaB5IjfJMOyKlr/V/RREK/6hRf7M0baCqT5eMKkJ+0Bi2dBcPIdvEptquxLgroCTuZ6yZfXYlkcV746L6mc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746201475; c=relaxed/simple; bh=r2F5h+QgOqIflFC6B2MbvmUokhKaI/7giI3XIRdp5t0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GCYUeGwPal9F6ZF1SXHqvzlZKzf+2RSaCDsTlG4XreaFSatOJJ4hMg9YN5Y6Gln0BL8IUpTeo0K1cYv7iCrEjOwkS66Bi4XH2jKxJ4Zv6+kccS6jWZkkxuOq/pS8vZ4fhrqZlkyBpxLaDWhue4dQVY3iPVJbmCWSe05GqEW6nM8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=scmftmp0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="scmftmp0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C15AC4CEE4; Fri, 2 May 2025 15:57:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746201475; bh=r2F5h+QgOqIflFC6B2MbvmUokhKaI/7giI3XIRdp5t0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=scmftmp0TuPDwm2hE2HmVuB5EraLKZirMQqbYDhDLg2EzHqpB3ya0sUmrudpEPt6Y BBwoyz5WeP4BYgrB8r9HK4g4X+rtwdAnwrBMo2MqBEjx4Zb4yEbq+IIBuHd2E6dreX CdXzEhXsVtW8wRtQK+sf4SVkGn9bOmkP4vwZ3lNI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53068: net: usb: lan78xx: Limit packet length to skb->len Date: Fri, 2 May 2025 17:55:33 +0200 Message-ID: <2025050212-CVE-2023-53068-0127@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2244; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=s5HkH5se0+QPCtwYPvNOqIo05pupXTgl6HfHs9IgZvU=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkirx4snXvTa7n7lZN9t/x26Mgt/mmncLii+6Ir486bp xtEV+tc6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJPF/BML9gdaGi3juX3tY1 s3kmGnXeu7prz2mGBbvdA7N2L3+x+/HqZbOkl8qLs3lKqgMA 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: net: usb: lan78xx: Limit packet length to skb->len Packet length retrieved from descriptor may be larger than the actual socket buffer length. In such case the cloned skb passed up the network stack will leak kernel memory contents. Additionally prevent integer underflow when size is less than ETH_FCS_LEN. The Linux kernel CVE team has assigned CVE-2023-53068 to this issue. Affected and fixed versions =========================== Issue introduced in 4.3 with commit 55d7de9de6c30adce8d675c7ce513e283829c2ff and fixed in 6.1.22 with commit 83de34967473ed31d276381373713cc2869a42e5 Issue introduced in 4.3 with commit 55d7de9de6c30adce8d675c7ce513e283829c2ff and fixed in 6.2.9 with commit 44b9ed73369fc5ec85dd2ee487e986301792a82d Issue introduced in 4.3 with commit 55d7de9de6c30adce8d675c7ce513e283829c2ff and fixed in 6.3 with commit 7f247f5a2c18b3f21206cdd51193df4f38e1b9f5 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-2023-53068 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/lan78xx.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/83de34967473ed31d276381373713cc2869a42e5 https://git.kernel.org/stable/c/44b9ed73369fc5ec85dd2ee487e986301792a82d https://git.kernel.org/stable/c/7f247f5a2c18b3f21206cdd51193df4f38e1b9f5