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 EB0FF28313F for ; Wed, 18 Jun 2025 11:05:57 +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=1750244758; cv=none; b=ds+B2CR42hxZq4Vjpi7QOBPAZynHAKvMluBsNm96wnUu/gMEHHZ0ggt2SckiGiNDDMG8i2UHZW9zgHz4DPM9iFBHGYQvbh2POu6pdt+ti0fNJC8qW7k45Bm/YfHtt75eGOh/lRvMH+CRQupR2DlXZenQQfQp41Zbyu5z5FcfBEk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244758; c=relaxed/simple; bh=vEQY8uDftPrFM1Yz3au4VpVuW8dJolpogcs2gB1C4uE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hBDhB1ZZ0XhynfOVJ+TjQiGtxQ73Tq7YDsb+I/u2W87IbpEkxTRSQwNChifx66K1knca86d9vesdybTgbcJSjAdLoe7juvYpJBrFHNq1Hn4wUCHbEmdsD/ghFOXYU6eI07k538tcRPAq1fehwBtzEI66fBpdAUiOLboaVK3rvQg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eBev4b6A; 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="eBev4b6A" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E21AC4CEF0; Wed, 18 Jun 2025 11:05:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750244757; bh=vEQY8uDftPrFM1Yz3au4VpVuW8dJolpogcs2gB1C4uE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=eBev4b6AJKmOD04HqicnkbcuEUmFO2v9I+1BbgelWAviansBqAVqvB4Q03mfcAJ6B yDAPCt4x+LRBT1yHeA+Lu6OhldyyOsnTG/yzVXP0iFUq6wkAjnjkBzqMceTtPgEHU9 JAzBjxdp6CTj7K0juqWIkwLYFBWCCqmP1rlqyLdU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50026: habanalabs/gaudi: fix shift out of bounds Date: Wed, 18 Jun 2025 13:01:31 +0200 Message-ID: <2025061837-CVE-2022-50026-a32a@gregkh> X-Mailer: git-send-email 2.49.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=1836; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8mZsGlx+vgq8HlkaUYuMIrE3cuTmd4rudOfh2vs4HnY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc0JV4tO4dHsF4/3X/X57n8+5P3rhutbkD2tcJ3G8/ y1aZ6LbEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABM5wsQwh++MPPepDvMzl0JO y76Ldrg80zlrHcP8XOX4lRMC1zE6tlZ+9Zrjsf31udbJAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: habanalabs/gaudi: fix shift out of bounds When validating NIC queues, queue offset calculation must be performed only for NIC queues. The Linux kernel CVE team has assigned CVE-2022-50026 to this issue. Affected and fixed versions =========================== Fixed in 5.15.63 with commit b09e5ab18c9f52ff14cf968770e15d5b2dd85c43 Fixed in 5.19.4 with commit 19958bf4ef3124f6e93fd9e2de0b54d2a356a4db Fixed in 6.0 with commit 01622098aeb05a5efbb727199bbc2a4653393255 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-2022-50026 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/misc/habanalabs/gaudi/gaudi.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/b09e5ab18c9f52ff14cf968770e15d5b2dd85c43 https://git.kernel.org/stable/c/19958bf4ef3124f6e93fd9e2de0b54d2a356a4db https://git.kernel.org/stable/c/01622098aeb05a5efbb727199bbc2a4653393255