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 5346A7FBA2 for ; Wed, 22 May 2024 08:20:29 +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=1716366030; cv=none; b=kBYXIutxjvTmx9/CDk43T7OWJd/vslljYIsKZfTKu/LUtwAXXaKSAn5I5T9HAJbUwjPrj8nuML+S8CR5GxB1zAZZhzJegDoi7gXScMLo1DYQvlzfVwEFRu7MYa2nSXJkCC+3deo8MW/eHUjP7AEnxvU8lVk4dGQcbssQMZOVJMQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716366030; c=relaxed/simple; bh=vm4xNdBj+imdx4T1s59zezEnyuu74fm3i2wGD2Ff7mQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GLEcI9/jPCoKwPSPecTTSZNr+4Xege2o68sNPe7zUv04XdGkIUAK+PncQqCH35WgJOI0s3x7tWUgKHjJ3EhmAZQCmyzkZBScShUO/1cI/DKToedtAelpGBjqTh9bVr6IjivhtVViq+8HUBEukin04tjafl1P1XBOsRQSKet2vfs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YXX2UOU6; 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="YXX2UOU6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7ABC9C4AF07; Wed, 22 May 2024 08:20:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716366029; bh=vm4xNdBj+imdx4T1s59zezEnyuu74fm3i2wGD2Ff7mQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=YXX2UOU6jN2agHY4BUsUR99KGapXR0eAMrqMSuedYn3n9lWa13tX+9Cz87c22UGrX v+OU+fC5uT2rdm+yR2MwVfjrKJrTEQ7LHw462sodmYAWkpq2tuOEUU+Y5l5R1Wo2I0 8DwYu6j4uUYyA2Bbl1GGYX87T9PCEF6t5KCgtng4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47495: usbnet: sanity check for maxpacket Date: Wed, 22 May 2024 10:19:55 +0200 Message-ID: <2024052242-CVE-2021-47495-a5f8@gregkh> X-Mailer: git-send-email 2.45.1 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=2363; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vm4xNdBj+imdx4T1s59zezEnyuu74fm3i2wGD2Ff7mQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm+q+Z9WjFzxaMDByRLz7FKaAisX1PCd8z/VeQPvpNbi 3svNkac74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJrNRjmF9f8to5xXuC9dJS 2WgT/rC9RqtcfzIsOJ67+PMztdmeLNcbzWrtKrwZVv/SAQA= 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: usbnet: sanity check for maxpacket maxpacket of 0 makes no sense and oopses as we need to divide by it. Give up. V2: fixed typo in log and stylistic issues The Linux kernel CVE team has assigned CVE-2021-47495 to this issue. Affected and fixed versions =========================== Fixed in 4.4.291 with commit b9eba0a4a527 Fixed in 4.9.289 with commit 524f333e9813 Fixed in 4.14.254 with commit 74b3b27cf9fe Fixed in 4.19.215 with commit 002d82227c0a Fixed in 5.4.157 with commit 492140e45d2b Fixed in 5.10.77 with commit 693ecbe8f799 Fixed in 5.14.16 with commit 7e8b6a4f18ed Fixed in 5.15 with commit 397430b50a36 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-2021-47495 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/usbnet.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/b9eba0a4a527e04d712f0e0401e5391ef124b33e https://git.kernel.org/stable/c/524f333e98138d909a0a0c574a9ff6737dce2767 https://git.kernel.org/stable/c/74b3b27cf9fecce00cd8918b7882fd81191d0aa4 https://git.kernel.org/stable/c/002d82227c0abe29118cf80f7e2f396b22d448ed https://git.kernel.org/stable/c/492140e45d2bf27c1014243f8616a9b612144e20 https://git.kernel.org/stable/c/693ecbe8f799405f8775719deedb1f76265d375a https://git.kernel.org/stable/c/7e8b6a4f18edee070213cb6a77118e8a412253c5 https://git.kernel.org/stable/c/397430b50a363d8b7bdda00522123f82df6adc5e