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 914F61F7073 for ; Mon, 21 Oct 2024 12:17:51 +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=1729513071; cv=none; b=NiqqcwOg89f5Z6d2AgTq/YPCEXnQH5F/xKReZNqSmsTeU+76OGt/iSA/dZ6lWRaeIbgYelTrJRcMtR7lrl7ntcu27Fz1+fGp4NvElAZc7E7kAR9E48QxTOPgbdcis7K5oQFWTaRrCcJe3CUUwcQm2BhQVIilYFPHvbefdgRpEAQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729513071; c=relaxed/simple; bh=10ge7C90AKD7ZXZTfzuVU7s9x5o1Y3ji/74MhcwiMpU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ca9tpXV195n2EfK2iWaYNiiMHrzALQ8qAGCZbBxD568DycCOfxIm/SVvqAibYyTZEFwGF8afQZ42J12O2XyhQfpFKxlDrQ5vBrxFfvWKNVQmNYeG84Qy2UoImByxV7owCnaiRfOVduKeMu/SvkEKTGjZnD6C1w/QRriW2mFv/zI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TT8VdpyV; 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="TT8VdpyV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A181C4CEE5; Mon, 21 Oct 2024 12:17:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729513071; bh=10ge7C90AKD7ZXZTfzuVU7s9x5o1Y3ji/74MhcwiMpU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=TT8VdpyVUeGK0vQ1rZEnQRyWxcxIFN82+RWoSnfpB6730U+KsXLNzSTRL/YIjdq+F 3+bdBEBQYhStdZmGim4/1Awvf53604cFxCS6CD3Uiq5WoVfYWJBV61ITOYYHJf+xae T3tOwvzGfqxgFuhY+ZfysfNe/sSegcQ1DNU32ass= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-47730: crypto: hisilicon/qm - inject error before stopping queue Date: Mon, 21 Oct 2024 14:16:09 +0200 Message-ID: <2024102106-CVE-2024-47730-2f1e@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=2647; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=10ge7C90AKD7ZXZTfzuVU7s9x5o1Y3ji/74MhcwiMpU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlibmx68S2t1XofHl07cm3ihQgtjpnyjBcmxDWfl4k6c Wq706zZHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRqxUMCw5x1y1fH/5t6l2Z hFi5BxUbN33jF2CYX+cup3Hrd2mn2X+v868mdhpOZvyjDAA= 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: crypto: hisilicon/qm - inject error before stopping queue The master ooo cannot be completely closed when the accelerator core reports memory error. Therefore, the driver needs to inject the qm error to close the master ooo. Currently, the qm error is injected after stopping queue, memory may be released immediately after stopping queue, causing the device to access the released memory. Therefore, error is injected to close master ooo before stopping queue to ensure that the device does not access the released memory. The Linux kernel CVE team has assigned CVE-2024-47730 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit 6c6dd5802c2d and fixed in 6.1.113 with commit 98d3be34c915 Issue introduced in 5.8 with commit 6c6dd5802c2d and fixed in 6.6.54 with commit aa3e0db35a60 Issue introduced in 5.8 with commit 6c6dd5802c2d and fixed in 6.10.13 with commit f8024f12752e Issue introduced in 5.8 with commit 6c6dd5802c2d and fixed in 6.11.2 with commit c5f5b813e546 Issue introduced in 5.8 with commit 6c6dd5802c2d and fixed in 6.12-rc1 with commit b04f06fc0243 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-47730 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/crypto/hisilicon/qm.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/98d3be34c9153eceadb56de50d9f9347e88d86e4 https://git.kernel.org/stable/c/aa3e0db35a60002fb34ef0e4ad203aa59fd00203 https://git.kernel.org/stable/c/f8024f12752e32ffbbf59e1c09d949f977ff743f https://git.kernel.org/stable/c/c5f5b813e546f7fe133539c3d7a5086cc8dd2aa1 https://git.kernel.org/stable/c/b04f06fc0243600665b3b50253869533b7938468