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 6C1B01114 for ; Wed, 21 Aug 2024 06:12:12 +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=1724220732; cv=none; b=Hth6REyEprlfFbkUarUZ3y62nKsa6NrqPwAby/msWOQclWQ4Bq9uVsFDUFy7CIQW4Quq2XPtvtrIZ0LXKYzH8M57f0IS+xH9tNA+d334tDTsmAN8Gt7c0OJZ27CVHne/ICZh0VuCE6n2tTBwtm7YPie3JGBt3ubOL9rXD7J/QRA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724220732; c=relaxed/simple; bh=/aPjjlzYA0DfszBEfa6IIwRx6wj3SdNOyU/WqRsQx+8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ulzyt5qJRw4MQdwLBslc65Lb5Ay8assmFlCLz2QAIttlRenqzF7a1g7HU6x/vGtonwMKQEd5nxFLYzOKpQWZgVjXbDzFWfHH1qbTF165JgoJjNJwFRTkppwGtBtlm/9/jzT8JZubIM3jIkpydjLl7mhiMqcNAYVLwFoigDv7Krk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=b+DTxC6e; 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="b+DTxC6e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2DD5C32782; Wed, 21 Aug 2024 06:12:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724220732; bh=/aPjjlzYA0DfszBEfa6IIwRx6wj3SdNOyU/WqRsQx+8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=b+DTxC6epZSKUS4v/EmwmthJwl5COQ65cchjXzIvRm3B0Lt6+9YXEJ5SVKcbxmXf0 yIVzGd8eNObxrjQA/PN+cSgfbtzeqqy/xCthUwBxoUI0iwOCBe3FgLvQz3EQlNiixb zSX/08OnnOkBSsYLqZPEROTlIqc+4/vqcGnLTnUo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48886: ice: Add check for kzalloc Date: Wed, 21 Aug 2024 14:11:20 +0800 Message-ID: <2024082108-CVE-2022-48886-0228@gregkh> X-Mailer: git-send-email 2.46.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=1780; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/aPjjlzYA0DfszBEfa6IIwRx6wj3SdNOyU/WqRsQx+8=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlHW/4cOP5yoX3lQx4NGb1jn5yOxe1ZPed2lGOrwDwvp UY7RSuljlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIsgrD/NiMmW61co+n7Oa0 fbRktc8t9blGBxjmClT8/Z0xmdHx9aujZ/u5buekSH7lAgA= 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: ice: Add check for kzalloc Add the check for the return value of kzalloc in order to avoid NULL pointer dereference. Moreover, use the goto-label to share the clean code. The Linux kernel CVE team has assigned CVE-2022-48886 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit d6b98c8d242a and fixed in 6.1.7 with commit 96a987318855 Issue introduced in 6.0 with commit d6b98c8d242a and fixed in 6.2 with commit 40543b3d9d2c 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-48886 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/intel/ice/ice_gnss.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/96a9873188552ebb2afe76033d7329a5ecabef6e https://git.kernel.org/stable/c/40543b3d9d2c13227ecd3aa90a713c201d1d7f09