From mboxrd@z Thu Jan 1 00:00:00 1970 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 3376E14A0AD for ; Fri, 23 Aug 2024 13:08:19 +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=1724418500; cv=none; b=TuOmLZlVRGCiS1fggTl4ic8z2Zr4crpMbYPQ6P1Pz7Qj4/g8skWkm+8GG7VnYjaAOjmkWWYIYxFtRsgnr/fTXJ3/l2/BRkp/HBpx2Y24EZSBTz1bXn4FO0pAsBhVyoTd2OKc+gOEBJYgIeYzCazwEuv+2bWZVAqXTiYrx0hKbuk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724418500; c=relaxed/simple; bh=gUkM12hlq1LVY20bpiRzqqu5uhmmEbWKbOiJlodkUis=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sRaGBLc4yY07r+a7bitD8TOcDhYmNZzCLAOpQ7e9N1IwwQU8qvYwjH40dElqnHyqMbjRW53QcLTN9SrZnD0gKNJSkIEjjgzlxJY4JsD0Sp0sCTdovhwd5sctXwqEsw51btQKNDwzFMvVxAmwa70Yrh8Iy8FCe5QcOpJ+vt73fQo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mJSmd0dv; 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="mJSmd0dv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A53CC32786; Fri, 23 Aug 2024 13:08:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724418499; bh=gUkM12hlq1LVY20bpiRzqqu5uhmmEbWKbOiJlodkUis=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mJSmd0dvnHTQA13kmLEwE8OwOwdpl3O2IWS1CPKdsYStA+ESzDWRFB14kx90lP97U JNjZYP9uGFtwC2ayqWKFL+JFAEphPdzmDnN7+B6O29XnzTPVeOVI7sDqERYRDyL83J W2BIbMOrjHoZVpHS737fxq8ceiSeENYfj284/Zio= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-43883: usb: vhci-hcd: Do not drop references before new references are gained Date: Fri, 23 Aug 2024 21:08:14 +0800 Message-ID: <2024082313-CVE-2024-43883-a594@gregkh> X-Mailer: git-send-email 2.46.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=2498; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=gUkM12hlq1LVY20bpiRzqqu5uhmmEbWKbOiJlodkUis=; b=owGbwMvMwCRo6H6F97bub03G02pJDGknOvdetT0a7370xOJHCR+kv06WO+6nd23PojBlw3/PV TSzXp8N6YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJMJ9mWHD8rKfbQn+JvJR/ kR8v2W78x+x17xPDgn1/rrnyvL+faihmMs3v6QeepKKP1wA= 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: vhci-hcd: Do not drop references before new references are gained At a few places the driver carries stale pointers to references that can still be used. Make sure that does not happen. This strictly speaking closes ZDI-CAN-22273, though there may be similar races in the driver. The Linux kernel CVE team has assigned CVE-2024-43883 to this issue. Affected and fixed versions =========================== Fixed in 4.19.320 with commit 5a3c473b28ae Fixed in 5.4.282 with commit 9c3746ce8d8f Fixed in 5.10.224 with commit 4dacdb9720aa Fixed in 5.15.165 with commit e8c1e606dab8 Fixed in 6.1.105 with commit 585e6bc7d0a9 Fixed in 6.6.46 with commit 128e82e41cf7 Fixed in 6.10.5 with commit c3d0857b7fc2 Fixed in 6.11-rc3 with commit afdcfd3d6fcd 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-2024-43883 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/usb/usbip/vhci_hcd.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/5a3c473b28ae1c1f7c4dc129e30cb19ae6e96f89 https://git.kernel.org/stable/c/9c3746ce8d8fcb3a2405644fc0eec7fc5312de80 https://git.kernel.org/stable/c/4dacdb9720aaab10b6be121eae55820174d97174 https://git.kernel.org/stable/c/e8c1e606dab8c56cf074b43b98d0805de7322ba2 https://git.kernel.org/stable/c/585e6bc7d0a9bf73a8be3d3fb34e86b90cc61a14 https://git.kernel.org/stable/c/128e82e41cf7d74a562726c1587d9d2ede1a0a37 https://git.kernel.org/stable/c/c3d0857b7fc2c49f68f89128a5440176089a8f54 https://git.kernel.org/stable/c/afdcfd3d6fcdeca2735ca8d994c5f2d24a368f0a