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 75A5212E78 for ; Thu, 20 Jun 2024 06:47:41 +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=1718866061; cv=none; b=elfD9CsJHsxvxO0xLMutw6g+gqnD9KdX0EZEcwvEs4pLaNy5pcj1kKE8MFS1wvMfda2IAiSmFzOuxcKEtKrcim8RoksZ/0nFAOfYmy3A1CrZzHcFGlI2zd0otRrUIcgMEMUOMRboBfCa5V7zaDjWLD32JfiKcJdcSjxnx/fqcBU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718866061; c=relaxed/simple; bh=o29vzkOE4VqXfea6NPaUT9ONW3PxghUWbLjjWotoFfs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iJ/DKxJ9rZX5fzcIH73TFNA+h4/RkX5iD/FwEqMVn25Guh3Ohr3H9sPNSIqoSdxzRlHFZ99ltaE/RPkN9nrI1vBumU0YtDhFeTKgBfLqsIoHWJ6uCARTEeAwq8C9Br+3VaVTx1UwjoJxPZ1xl5l150lA6A7SfMmObtUNCz3NFi8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yP3EyINo; 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="yP3EyINo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C302C2BD10; Thu, 20 Jun 2024 06:47:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718866060; bh=o29vzkOE4VqXfea6NPaUT9ONW3PxghUWbLjjWotoFfs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=yP3EyINowf6tJVfUYjWwOTXrE82afy/NtSz7QTU8YiEvyLD7Cb4uByCDBZUJ484ZY xWUEX0Pc+XiNVFwIkXQVefoJfCUynaW1FNobted9aK1wGuPr5p2NUQnSjC8P6EnzJW amsjNZLezWsaV61tkGzvByHKm8YX8Q1e8pJ5wq2A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-38619: usb-storage: alauda: Check whether the media is initialized Date: Thu, 20 Jun 2024 08:47:36 +0200 Message-ID: <2024062035-CVE-2024-38619-97c7@gregkh> X-Mailer: git-send-email 2.45.2 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=1874; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o29vzkOE4VqXfea6NPaUT9ONW3PxghUWbLjjWotoFfs=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnFF9rDX3AaHE+y4r26dnvt35VqMz7JBC1YxXC1YNl2h QRlLc8NHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRjxsYFhxSfu417cn0LtZo jqILN2Zqvv3NMIdhfmBo47WfZ2JZExbXHjliwnmY4wOHGQA= 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-storage: alauda: Check whether the media is initialized The member "uzonesize" of struct alauda_info will remain 0 if alauda_init_media() fails, potentially causing divide errors in alauda_read_data() and alauda_write_lba(). - Add a member "media_initialized" to struct alauda_info. - Change a condition in alauda_check_media() to ensure the first initialization. - Add an error check for the return value of alauda_init_media(). The Linux kernel CVE team has assigned CVE-2024-38619 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.16 with commit e80b0fade09e and fixed in 6.10-rc4 with commit 16637fea001a 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-38619 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/storage/alauda.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/16637fea001ab3c8df528a8995b3211906165a30