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 C33E31BD012 for ; Tue, 24 Dec 2024 11:30:09 +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=1735039809; cv=none; b=kpmgReAr+oAkW7jW8tU1swjqWqNMGd+2nJpPORLj6elw8fNaNqAUnUxVWuqI7k/+M1LvFWyLHoHMx9ZlE0buOvgmHBwGg5hAJmeU0ANzECqEVLKGNPZm67XROfr0j/Sm4XUHxhD4K9Hd0k0odlcQsHUy9ZRB3CWu7I6O+a9rojI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735039809; c=relaxed/simple; bh=rgB3IGgT4m9uZhjLP9tsmNMtkVfvESZTeeNNewoPpHk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tl4btcTSq6ztPCWA1NPxbq7jSH3NYrruZq/QIgTdnkG6XiQKyqDq30f5MRKjwjnBM56xkeBFnTql9kGzStVc22pHygiUwZV1x448YUX4zVLNFbtRTP/kkBZTU7k1uKprLLiftMPmfmWxx/FsgnH6a2WDLufxhOSMR/7D8zRxCuY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=W2qOx0nG; 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="W2qOx0nG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4654C4CED0; Tue, 24 Dec 2024 11:30:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735039809; bh=rgB3IGgT4m9uZhjLP9tsmNMtkVfvESZTeeNNewoPpHk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=W2qOx0nGcCgNNDq0TtdeSwvI2PfkmxtRytaeOO8aHVH3hTBgY01bjwmLCw0kYDSU+ YFqf5Vt0xfmm9rFZiaVxcUsPUG8wiEbGwMMdvZ/pUpQCUCz0xgxKDae1O9HnJwcxvX XR5y81ubNUQTU87ANkWJooSRXgE+ENJ96z4AA0BA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-53162: crypto: qat/qat_4xxx - fix off by one in uof_get_name() Date: Tue, 24 Dec 2024 12:29:42 +0100 Message-ID: <2024122431-CVE-2024-53162-25cd@gregkh> X-Mailer: git-send-email 2.47.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=2350; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rgB3IGgT4m9uZhjLP9tsmNMtkVfvESZTeeNNewoPpHk=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlZs2W8Flkt52JhuDIjYG7G+fPHNope3b6Fx+WT4uLfZ 4x6isV1OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiu34xzOFJ1X6n+eiXWPsi jkSdHe9kV8qumcuwoIPxwfXlNQc2/tq+fpqObss8Q3MTVwA= 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: qat/qat_4xxx - fix off by one in uof_get_name() The fw_objs[] array has "num_objs" elements so the > needs to be >= to prevent an out of bounds read. The Linux kernel CVE team has assigned CVE-2024-53162 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit 10484c647af6b1952d1675e83be9cc976cdb6a96 and fixed in 6.6.64 with commit 05c9a7a5344425860202a8f3efea4d8ed2d10edb Issue introduced in 6.5 with commit 10484c647af6b1952d1675e83be9cc976cdb6a96 and fixed in 6.11.11 with commit e69d2845aaa080960f38761f78fd25aa856620c6 Issue introduced in 6.5 with commit 10484c647af6b1952d1675e83be9cc976cdb6a96 and fixed in 6.12.2 with commit 700852528fc5295897d6089eea0656d67f9b9d88 Issue introduced in 6.5 with commit 10484c647af6b1952d1675e83be9cc976cdb6a96 and fixed in 6.13-rc1 with commit 475b5098043eef6e72751aadeab687992a5b63d1 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-53162 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/qat/qat_4xxx/adf_4xxx_hw_data.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/05c9a7a5344425860202a8f3efea4d8ed2d10edb https://git.kernel.org/stable/c/e69d2845aaa080960f38761f78fd25aa856620c6 https://git.kernel.org/stable/c/700852528fc5295897d6089eea0656d67f9b9d88 https://git.kernel.org/stable/c/475b5098043eef6e72751aadeab687992a5b63d1