From patchwork Fri Mar 3 12:28:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thadeu Lima de Souza Cascardo X-Patchwork-Id: 1751448 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=qQNh6yBY; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PSnMZ04crz246T for ; Fri, 3 Mar 2023 23:28:57 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1pY4Wo-0006ex-8z; Fri, 03 Mar 2023 12:28:50 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1pY4Wn-0006eZ-4L for kernel-team@lists.ubuntu.com; Fri, 03 Mar 2023 12:28:49 +0000 Received: from quatroqueijos.. (unknown [179.93.189.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 9F3C141FBC for ; Fri, 3 Mar 2023 12:28:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1677846528; bh=NqgwtDfgZFI0r6oPRuNAjhz11Atudd8cTFNMxP2nanY=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=qQNh6yBYyfdHEx9fiMatlmdGWmJUA5Jw7y9wzj6FKo6o4rGK+mpIA6JZSXlGZ5nzh sOt7/bRrbIbJp1mgtICmPUIwabMbKkZPSnIAcSzAevYAmfKv20TADvkLzJajaZHXvb X+mbpl0Ja6LKrvrC6sf9OBVh5SGpEPJ4fIysM9UnUGFqp0xtfMeL2WBTUVuolZrnoD PIt+uV1cpoZbtLB8k3Mv1SF5EYvJdaRgJjUwhiNeng/r1IvLzAsmyqXe04XL/XhkJC yTHP2YWlcOFya5dQgjMFwG1Rk7saqGmP1UmHVKe2bjRGGFyb2QNVW4w1Bl7osSsQMa og0dvAyHWfqVw== From: Thadeu Lima de Souza Cascardo To: kernel-team@lists.ubuntu.com Subject: [UBUNTU Focal 0/1] CVE-2022-3108 Date: Fri, 3 Mar 2023 09:28:38 -0300 Message-Id: <20230303122839.320821-1-cascardo@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" [Impact] An allocation failure during amdgpu initialization may lead to a NULL pointer dereference. [Test case] The driver was loaded, as it can be loaded even on systems without the card, and the affected path will be executed (a kfd device is created). [Potential regression] amdgpu users may have problems with the graphics system. Jiasheng Jiang (1): drm/amdkfd: Check for null pointer after calling kmemdup drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 3 +++ 1 file changed, 3 insertions(+) Acked-by: Tim Gardner