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 04A201CABF for ; Fri, 8 Nov 2024 05:24:15 +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=1731043456; cv=none; b=NeYe9AqNspuqXEOIQcR780FuXvNlDJdDvixbLYBFug9eJdvmmhElbjWzmBaZWNwxzMe90uH7UnQVHKv/5JfdzeM62AsSOkGezezuwPOhWNlWB5oTuP8KGWEbUzms89knJNS8lU5pXNGKA0DVGz0Ik4jEiuJYUwhzHKAe+eiqLos= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731043456; c=relaxed/simple; bh=aa+j91P+tB5p8P4bMXyK7ZLkjPsTnj4CHVcxfr5KAxY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tSogaXbk0VkUiE5ijnddxoa/ejc/8Hsh/tFm0yjYPdo1/sG2fc8Ota/8prJIKojD7ajPOMFinG7s1sZ4kaF/hGUQpHVJGxZq6Ek8BegfgAApTDNEg+7DyQ+KmLeyqmoEvOvFsTJvG/JalmezpTeuZV1kc1hAmMj9+u673YxzKI8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IdJ7KMBD; 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="IdJ7KMBD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28D95C4CECE; Fri, 8 Nov 2024 05:24:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1731043455; bh=aa+j91P+tB5p8P4bMXyK7ZLkjPsTnj4CHVcxfr5KAxY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=IdJ7KMBDqE2bEWfNKYXWdnDRaEH+L0YjeNSGaljG+CsE9Lx9jPykTmBYIK53wsQiG PKHCud0PuCG4gXIslFQZOJ0g0UUSGe7bpD7qd4ZYA9p7PgAJnItAP/p6iIEwWJkIQ5 0PFs1rFqdAKN5PH6uavypkE/awNwAbd/rTkClnX8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50173: drm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup() Date: Fri, 8 Nov 2024 06:24:04 +0100 Message-ID: <2024110804-CVE-2024-50173-c209@gregkh> X-Mailer: git-send-email 2.47.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=2055; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aa+j91P+tB5p8P4bMXyK7ZLkjPsTnj4CHVcxfr5KAxY=; b=owGbwMvMwCRo6H6F97bub03G02pJDOm6C0r6HuVlrQuQqN/2o3ZvS154QWzfNOVdLBLMCbdmO 2r/eeLbEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABO5KcqwoDGqpzFX4MDtsh2l fx46b639ZH9ajWGeoZbXe67lW1O0svT83ihVOMdscDcGAA== 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: drm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup() The group variable can't be used to retrieve ptdev in our second loop, because it points to the previously iterated list_head, not a valid group. Get the ptdev object from the scheduler instead. The Linux kernel CVE team has assigned CVE-2024-50173 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit d72f049087d4 and fixed in 6.10.14 with commit ac2ca5e5148a Issue introduced in 6.10 with commit d72f049087d4 and fixed in 6.11.3 with commit 3bde05794497 Issue introduced in 6.10 with commit d72f049087d4 and fixed in 6.12-rc2 with commit 282864cc5d3f 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-50173 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/gpu/drm/panthor/panthor_sched.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/ac2ca5e5148a0d4d78ac01c2d8348d0757c7367f https://git.kernel.org/stable/c/3bde05794497d5f426d4ea2ecb9868bf7721fb24 https://git.kernel.org/stable/c/282864cc5d3f144af0cdea1868ee2dc2c5110f0d