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 B1EFA25B1D3 for ; Fri, 2 May 2025 15:59:50 +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=1746201590; cv=none; b=VQ3wBkvMLtVj84p1fzDRkFalACT3Q7OOfOYZMX6bcPAsDVPSPGX4JXAbOoqbAqpHKKRjsSlNY22zGE4MF03bwtNrW5COji9kcAAHYQkr7lNdzB1aDD1J+AvrPSLXoQmn0FnrfzfEnfL5986wxDDfZT2RppP6IjFdK2LIP3YM3wM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746201590; c=relaxed/simple; bh=q9wVh8lgGccxdqopzOeXgui2YYfpJs/rVl9drrptRBc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HCRlYkp1A0oiXhKhiCSgbGXscwwMCEJYzaVA51labnUWZeNfcD5qO1rC4z4alcYWn6LkOPSP/ul6iKRZaWRpU+iydHmKWiT0/23xuXm39llj9CwAF8NYhva/7sbY4UjXcMpq60+sG07V6ba6TaOQ39dbh9sJcyvuPJhfNoNp6yc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NF/rmkiy; 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="NF/rmkiy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B751C4CEE9; Fri, 2 May 2025 15:59:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746201590; bh=q9wVh8lgGccxdqopzOeXgui2YYfpJs/rVl9drrptRBc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=NF/rmkiy5mtYQ6z+2uqOfl1AVYJmy3ZOo8vIIWpuFgYa/kHrzAyvqh2t3qfqAQMz9 8bcHrQi72v84bUmNG4Ik8DsmZ/4/cMqaA2iSzH8DnWNDFKJ+ZCqcxzDOxlFSS+xL8H tU6uDx0qo+FYwJbJQAMDnVCkjRdGjbfGUapKVcc4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53104: net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull Date: Fri, 2 May 2025 17:56:09 +0200 Message-ID: <2025050225-CVE-2023-53104-d632@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=2151; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aEUdjTf7eS5x7imcENigV3mJmZLVTXlZR30sbPNg2jk=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkir9762ck36pfn8mW6HboqN+uWxHPXNrNI4VIHy8WzQ zdVsD3siGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlESTIsmDCz4d/kBRauzuFu clM+SaSy7bx3iGF+wfuHoeUdnIKs869o23y79bh2do8pAA== 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: smsc75xx: Move packet length check to prevent kernel panic in skb_pull Packet length check needs to be located after size and align_count calculation to prevent kernel panic in skb_pull() in case rx_cmd_a & RX_CMD_A_RED evaluates to true. The Linux kernel CVE team has assigned CVE-2023-53104 to this issue. Affected and fixed versions =========================== Issue fixed in mainline with commit 43ffe6c 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-53104 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/smsc75xx.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/5c96eeba93980c5cef5176a4bac0ddb722fd57dc https://git.kernel.org/stable/c/89441504d66d116eb5ce58c132f58cdcca5b498a https://git.kernel.org/stable/c/e0d07a3203c36d073af2177edfc6b070220a60cb https://git.kernel.org/stable/c/2cc46ed406bb325f10a251b03d9a83ae67b3d3d8 https://git.kernel.org/stable/c/7bf0eac3fdd2d25f5c6ceab63e3e4902e274f7ee https://git.kernel.org/stable/c/4caee8e7d91e4f06f21881726da9c1bb2cd6e4fa https://git.kernel.org/stable/c/181e9db5caec4daae57a58675a1ceaa47348958f https://git.kernel.org/stable/c/43ffe6caccc7a1bb9d7442fbab521efbf6c1378c