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 411E61487EC for ; Mon, 13 May 2024 10:20:15 +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=1715595616; cv=none; b=QI6E3NXgED9GFT8pBSTIAQs0tg52XrruPos7JElT4RuHD2CuliS7foY1jGTkTsfW1A1pDRRlkM5e/gzNO/dMLZqK4z75sepOEh7HC07BFXJpH+k/qX5ky46E/UBI+CfZJd0LId1gEWQ7s11PiXgB0wbKYXrflJFZ6Y31Vr9aWC4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715595616; c=relaxed/simple; bh=OrkyLcryhkRmxEJDq5z5iL9GgTD+Zi5O+xKJLDfKuNw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cb+byywxigT363NtZgI7OMAuUXVMDi5UNj76rRHJeMI7TK6tA1la0XavgyxzPbhh4aHCcYABrVEPp91bPLn5ibipZrzQaIhaHN6fvw73FuaTuvCA7howOBivqyEpBV7sl8k3M1J5OktAAMn6qkIeswSUTpOp4j/8WY3Na5wTgoU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CBP+SjhU; 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="CBP+SjhU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C28BC113CC; Mon, 13 May 2024 10:20:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715595615; bh=OrkyLcryhkRmxEJDq5z5iL9GgTD+Zi5O+xKJLDfKuNw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=CBP+SjhUto/bs8EXsTN8VAuXuc6+4bH21G0ITkAdnqHAajkGG471/MKLycyt1dt8t pkVONvIxgvYxSx5m3TqyV6F5hZA5zzWB7psfR+lBxbGF1GOPgF+1ircXrOxU/hJSaB 0gznpZUKX4yD81BOyVaYcP+WX2tWHB24ANHGjn7c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52655: usb: aqc111: check packet for fixup for true limit Date: Mon, 13 May 2024 12:20:08 +0200 Message-ID: <2024051307-CVE-2023-52655-3f94@gregkh> X-Mailer: git-send-email 2.45.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=2453; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OrkyLcryhkRmxEJDq5z5iL9GgTD+Zi5O+xKJLDfKuNw=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmOLyN+3Y6xvHH8ZqRwg9j82v8zGL41Pvr++ZvjGb4Fs f3ym+/LdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEVoUwzM9bOO14Qy37Aqf7 +hOnsF1919D+9TvDfIeWl9t7pEtLNB/7GSnabbPZMeEcPwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: usb: aqc111: check packet for fixup for true limit If a device sends a packet that is inbetween 0 and sizeof(u64) the value passed to skb_trim() as length will wrap around ending up as some very large value. The driver will then proceed to parse the header located at that position, which will either oops or process some random value. The fix is to check against sizeof(u64) rather than 0, which the driver currently does. The issue exists since the introduction of the driver. The Linux kernel CVE team has assigned CVE-2023-52655 to this issue. Affected and fixed versions =========================== Fixed in 5.4.265 with commit 84f2e5b3e70f Fixed in 5.10.205 with commit d69581c17608 Fixed in 5.15.144 with commit 46412b2fb1f9 Fixed in 6.1.69 with commit 82c386d73689 Fixed in 6.6.8 with commit 2ebf775f0541 Fixed in 6.7 with commit ccab434e674c 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-52655 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/aqc111.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/84f2e5b3e70f08fce3cb1ff73414631c5e490204 https://git.kernel.org/stable/c/d69581c17608d81824dd497d9a54b6a5b6139975 https://git.kernel.org/stable/c/46412b2fb1f9cc895d6d4036bf24f640b5d86dab https://git.kernel.org/stable/c/82c386d73689a45d5ee8c1290827bce64056dddd https://git.kernel.org/stable/c/2ebf775f0541ae0d474836fa0cf3220e502f8e3e https://git.kernel.org/stable/c/ccab434e674ca95d483788b1895a70c21b7f016a