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 9C22B1DDCE for ; Sun, 19 May 2024 10:12:36 +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=1716113556; cv=none; b=Rmdk62YbD5K08qVV72FWQmnXCrOkwjscTivctSYVz0bmab+DxosTB4Y4CGETi/h2StvVi9LEuXA17xvESHTnIcOj8rXDk64Y8nnM11gZMWilMAQzJU8icnM/5kkr+ffaG4HDjaoLy/JNAsjET9c4nG/dKbT02p0YMTm7Z3Na8Nc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716113556; c=relaxed/simple; bh=6mG3XgdApOyJ/jwgBdyIzCswafpDf75jQ4fG7QJ4F+Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uv5R01+CIIo6Qz/eSsx8yTUDHlamxI6tpE8EPMN+tCKLhL21eZ9SPvr1gmUhKxh6b88/pcVzmMUCX/90XnUG0d2btrxMKg81jJpKjUSE5ErnfNGSyeKlSUab7oRky2v2ahJExTB5qPTeviIe1kpt8WGArKyguTBbZ5OlsVITL8E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xrLYClkH; 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="xrLYClkH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CDE2C32781; Sun, 19 May 2024 10:12:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716113556; bh=6mG3XgdApOyJ/jwgBdyIzCswafpDf75jQ4fG7QJ4F+Y=; h=From:To:Cc:Subject:Date:Reply-to:From; b=xrLYClkHJFTTAZ540E+jnxs4XKzPFstDgx90WPM2EA49vgsJI17/VTyMi5UM64bl6 caBaXHCevO7fzqgb6aXQeO34LHtOPuRedSAOdRcDyjaP+UNDIm22zjr44FdecUwBKy mNPEZd2MvmG6D7eyuy3GbTBGFt0RdTB6UGGdI/0Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35926: crypto: iaa - Fix async_disable descriptor leak Date: Sun, 19 May 2024 12:11:20 +0200 Message-ID: <2024051915-CVE-2024-35926-d677@gregkh> X-Mailer: git-send-email 2.45.1 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=1777; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6mG3XgdApOyJ/jwgBdyIzCswafpDf75jQ4fG7QJ4F+Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmeF5yffUndpOPD8fW9Sc0M2ZmTPeQ++PxMnFQ251B74 gXFncu5OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi0fMYFsx6Vqh0Imfl8fCt nxepnXF4d6LuWxnD/DpDTuFdXikHTlzeKrZ9v2yQbGHnUwA= 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: iaa - Fix async_disable descriptor leak The disable_async paths of iaa_compress/decompress() don't free idxd descriptors in the async_disable case. Currently this only happens in the testcases where req->dst is set to null. Add a test to free them in those paths. The Linux kernel CVE team has assigned CVE-2024-35926 to this issue. Affected and fixed versions =========================== Fixed in 6.8.6 with commit d994f7d77aad Fixed in 6.9 with commit 262534ddc88d 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-35926 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/intel/iaa/iaa_crypto_main.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/d994f7d77aaded05dc05af58a2720fd4f4b72a83 https://git.kernel.org/stable/c/262534ddc88dfea7474ed18adfecf856e4fbe054