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 E85681E1E07 for ; Fri, 7 Mar 2025 09:10:39 +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=1741338640; cv=none; b=PgYQj7wNEN8cx4XDfRsgnNq07Q09bBaMM/rURPyU/ZPmBL39Y3eKwys/GqHmgjWgOJepfJv4XVqtoi3olvHuks/H4jenL6PeKCASZ1ZnL5mupIiBvUGuh3X+juV1lQJ+f3P8wjHfSIh6+nL9rus76D7F8gz+hrq4FdSKOfi0HlU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741338640; c=relaxed/simple; bh=e3sdXoMw66fq5j1k2EFsLHY/SLSZeG96/mAqh3mjITk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=f6nohDm7Q//j0ROrlLwmVEjUY/EAKLXf+2bbeduqRGJIVw/P3RbXiu1Ly/EsIuhpoIPDO0QazgpI41/ZDFxid7O8OfvWrTwohSx7kQY4imogayoH5cM9+RGAb/hEk0d2zh96a+QqFS4L6i1Z5qORM/b+i5BopXXJPmjYr6B2Rfg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2bf9kmUP; 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="2bf9kmUP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E197C4CED1; Fri, 7 Mar 2025 09:10:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1741338639; bh=e3sdXoMw66fq5j1k2EFsLHY/SLSZeG96/mAqh3mjITk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=2bf9kmUPREk/4PqZOPLA4GjCm65wNsbj+5FNzSt74Fu/xCoQPNGQrcZ1PxUolrhyc oxzEhOYrlJmIBykwKNBdnTNoJuB/x9bpmPWaBvqlwo9dR6R9mcCWcUW9+bPLZm6sdc dM53ibOO7uxG3St6enigBMrcuiBUv8wrCwMMZt5c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21843: drm/panthor: avoid garbage value in panthor_ioctl_dev_query() Date: Fri, 7 Mar 2025 10:10:13 +0100 Message-ID: <2025030708-CVE-2025-21843-4385@gregkh> X-Mailer: git-send-email 2.48.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=1991; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=e3sdXoMw66fq5j1k2EFsLHY/SLSZeG96/mAqh3mjITk=; b=owGbwMvMwCRo6H6F97bub03G02pJDOmntn+4KvY4bLbJ/q+m91xus9htnSkiuWD3XK21X6uST P/N9/q1uSOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm0jOFYQ7/xTXXjnleMjq4 fcubFT7b9TnNH2UxLNi+enfOZruF7339ZE7nvbdyZpYsWwwA 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: avoid garbage value in panthor_ioctl_dev_query() 'priorities_info' is uninitialized, and the uninitialized value is copied to user object when calling PANTHOR_UOBJ_SET(). Using memset to initialize 'priorities_info' to avoid this garbage value problem. The Linux kernel CVE team has assigned CVE-2025-21843 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit f70000ef23527f6d928d1175c66c5fafa968814b and fixed in 6.13.4 with commit 64b95bbc08bacf3e4b05c8604e6a4fec43bb712a Issue introduced in 6.13 with commit f70000ef23527f6d928d1175c66c5fafa968814b and fixed in 6.14-rc3 with commit 3b32b7f638fe61e9d29290960172f4e360e38233 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-2025-21843 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_drv.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/64b95bbc08bacf3e4b05c8604e6a4fec43bb712a https://git.kernel.org/stable/c/3b32b7f638fe61e9d29290960172f4e360e38233