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 DF3A1433C9 for ; Wed, 9 Oct 2024 14:49:26 +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=1728485368; cv=none; b=aSvXBPIZHYEClIiW0/w7Aoj77r0oWjYfcuCIRFpATh/VR5K8psDN4PIMKFoSK7j/ZUbEDsljrQwed3KQGe3wmP26SSccKYfm5W7FlDG1YVkn9i999+z7uHMADUr9DH7avKzDPDYQ7hWkXHQINiC+EG3gGTek1J/oWryY1Z98FPc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728485368; c=relaxed/simple; bh=Hp1I9sSb5olvomdw7zzwaBBJ8AYM/JmhL5rgMFXuBK4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=swl12/CT8KOTnPa45w1hL2VIMC5CEN2cqxpwXv39rndSd6cm38kmoSRrTJ/LyCi0H8e9oANcBbDZSM7YommKqEmZbSdbvbl3+YmWWf/WHIohO6EUhQ7g6AtuuPzJfuypMTFZogkplGQQUWOUOb9SXLDjb0u5+JyRjFNtgpAP2Pc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uckp2FLM; 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="uckp2FLM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DA99C4CECD; Wed, 9 Oct 2024 14:49:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1728485366; bh=Hp1I9sSb5olvomdw7zzwaBBJ8AYM/JmhL5rgMFXuBK4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=uckp2FLMLkAYd4v7FKZcgZZsdOj2iLJs0JJbb3Xk1Zl37CISDRibazavWNlNFZg1G todmaJt/I0R2UP/qymAMwbem5yRdsfLENQgy5daIotR9LPMUdoKKtAMXqIWnbRKUwF thVVrtMYe4qKme6lhnxOTHbYhRDw8lJkGe3lxYF0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-47671: USB: usbtmc: prevent kernel-usb-infoleak Date: Wed, 9 Oct 2024 16:49:21 +0200 Message-ID: <2024100922-CVE-2024-47671-6c52@gregkh> X-Mailer: git-send-email 2.47.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=2273; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Hp1I9sSb5olvomdw7zzwaBBJ8AYM/JmhL5rgMFXuBK4=; b=owGbwMvMwCRo6H6F97bub03G02pJDOls0z8VfV2pWMZkcdf8jMq5ufu7p8aKCj2XPPXpeabyn oUmU9K3dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE/u1imMNp4+u42Nh62dUT Ktcinr9RPqS/fxrDgi3nTs96zFLNdORfX36ZrWjFQQn9KQA= 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: usbtmc: prevent kernel-usb-infoleak The syzbot reported a kernel-usb-infoleak in usbtmc_write, we need to clear the structure before filling fields. The Linux kernel CVE team has assigned CVE-2024-47671 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit 4ddc645f40e9 and fixed in 6.1.112 with commit ba6269e187aa Issue introduced in 4.20 with commit 4ddc645f40e9 and fixed in 6.6.53 with commit 51297ef7ad78 Issue introduced in 4.20 with commit 4ddc645f40e9 and fixed in 6.10.12 with commit e872738e670d Issue introduced in 4.20 with commit 4ddc645f40e9 and fixed in 6.11.1 with commit 6c7fc36da021 Issue introduced in 4.20 with commit 4ddc645f40e9 and fixed in 6.12-rc1 with commit 625fa77151f0 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-47671 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/class/usbtmc.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/ba6269e187aa1b1f20faf3c458831a0d6350304b https://git.kernel.org/stable/c/51297ef7ad7824ad577337f273cd092e81a9fa08 https://git.kernel.org/stable/c/e872738e670ddd63e19f22d0d784f0bdf26ecba5 https://git.kernel.org/stable/c/6c7fc36da021b13c34c572a26ba336cd102418f8 https://git.kernel.org/stable/c/625fa77151f00c1bd00d34d60d6f2e710b3f9aad