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 25C7F5339B for ; Tue, 27 Feb 2024 06:54:16 +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=1709016857; cv=none; b=sKlZvg+B5B/KMiT/8a4Quz7E96lJc9mssrT+ajAR6iRbGKlIR/TRHSc3LkK/Fv3vRq7KsGqww00KgQiKCpAsVY8h8w0HnO4mfwbNVn/Heveey4lyogKHsT5JckabAbr0bgcGPF7SzJF3yHWhx1DdTf/C9E/GzHR4atB3dcyffp8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709016857; c=relaxed/simple; bh=+f3Bnn6HBoVoqGcDuTck2PnObgUjuUtZ8b7C9Kc7sfw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NLB5+Fi/9OiMzjhlg+bo6gJenZkP1YU9iCjwqxsm9hXkYnYPxTgBuar+iONbXVW5PjB485IrgOTam5Ms4TGT6AZ8JGX/sGO7JZby+20BOvQc5bn0AP9zjLXAfJETG1V8dRA4v5zFmjV698JjnsoaKLXwn5KItF+zagJRnF7QytY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fsiO58Lm; 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="fsiO58Lm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53135C433C7; Tue, 27 Feb 2024 06:54:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709016856; bh=+f3Bnn6HBoVoqGcDuTck2PnObgUjuUtZ8b7C9Kc7sfw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=fsiO58Lm26NU6/Zzno5D51EpKsGje0G9uvRYLtIujMUBVjrKFtI183XUY/eh8DdlO 0lRH6tbpyNpD9+bBMao93PfUZviQ5ttw94CAuRZ+xsoWwBTr9o1pkXjVeJo8kMBrjK JbyNZrMnkgY17zI2rxMN4WxWo/WfwuWJ35M4FH4E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-46911: ch_ktls: Fix kernel panic Date: Tue, 27 Feb 2024 07:54:09 +0100 Message-ID: <2024022708-CVE-2021-46911-2a14@gregkh> X-Mailer: git-send-email 2.44.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=2011; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+f3Bnn6HBoVoqGcDuTck2PnObgUjuUtZ8b7C9Kc7sfw=; b=owGbwMvMwCRo6H6F97bub03G02pJDKl32wXsj6hrseyru5d0yij3QrVh2HULpjVfTD6oLy3Jz 5z0c8LzjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI2X2GOZyFryevtd8RKaZ7 VcLzVvbaRbK5RxnmBzzb9zZ8xfQDXb+uvrn6wyPnxqK/mwA= 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: ch_ktls: Fix kernel panic Taking page refcount is not ideal and causes kernel panic sometimes. It's better to take tx_ctx lock for the complete skb transmit, to avoid page cleanup if ACK received in middle. The Linux kernel CVE team has assigned CVE-2021-46911 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 5a4b9fe7fece and fixed in 5.10.32 with commit 8d5a9dbd2116 Issue introduced in 5.7 with commit 5a4b9fe7fece and fixed in 5.11.16 with commit 8348665d4181 Issue introduced in 5.7 with commit 5a4b9fe7fece and fixed in 5.12 with commit 1a73e427b824 Please see https://www.kernel.org or 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-46911 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/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.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/8d5a9dbd2116a852f8f0f91f6fbc42a0afe1091f https://git.kernel.org/stable/c/8348665d4181c68b0ca1205b48e1753d78bc810f https://git.kernel.org/stable/c/1a73e427b824133940c2dd95ebe26b6dce1cbf10