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 ABF2828AB02 for ; Thu, 10 Jul 2025 07:44:18 +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=1752133458; cv=none; b=USop+ajrjfv/A6bh9Mtc9yjYMyatqZTjDjMgfbK7iK8EYkD/84xbT/JzL6V+YkLWiZN12Fb3+yTXqWb2AOtjNBzZBOMnMmUEIhQlh5gSXk3EV3/fTC+Hlj03LTQ8k2UFuaXTi7nwGS1PNwGfrx9cYstE3XIcYnpTWJyfltzWBPE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133458; c=relaxed/simple; bh=uIhh9CKu8I2iK2BdtT2xHyGxhQoKsWguhx1e/VU85M0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=U0uV/4O9AAU8mxJAkGJbBq/eGZOuor8XFhojNnPLI4Qt3GBMk7cn1Uvbi7gdPQEIwZ83aPJ9UYp5e7vuHtzgw9kXdj6FLgh/783t+lCVvTtz8Qy5gAGwg/sdNCHeNt99vHVSZauDcMbFJmtWICoBkwdJCOGPnJgqJeN/m3Trf7E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pPt7G+hM; 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="pPt7G+hM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3AC6EC4CEE3; Thu, 10 Jul 2025 07:44:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752133458; bh=uIhh9CKu8I2iK2BdtT2xHyGxhQoKsWguhx1e/VU85M0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=pPt7G+hMBLmPj4pRH3RF+WgYHcmoKs7TTEHsKbxBNuDQOaJBxND81lhxnTr4ixKhV arAFBer6BcWHcO6YMQOJy0dzxkvsit0S0Xisc9WW99RCu9n/xYYNVMtoYab9bgLKal AYCtFXfzDBPS03a9mJKPNVrwncMgWzsPXhDNOIro= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38318: perf: arm-ni: Fix missing platform_set_drvdata() Date: Thu, 10 Jul 2025 09:42:59 +0200 Message-ID: <2025071016-CVE-2025-38318-81bc@gregkh> X-Mailer: git-send-email 2.50.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=2103; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VYYP4GXh0jKi1rnasVvOJq1ATBoGuozEyFfV/rEuyho=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5eTcYLrUfY9IM9GR5aXF9p9xptrIbO/UeT9iwoJEhO PHc0uN7O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTGBDuDgFYCK+MxkWTP4cfGLNZrl/ZwQs Nrpw3Fwu+tn3BcMcrnXyTnPYXVYtUDucuH5X/M13e37sBwA= 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: perf: arm-ni: Fix missing platform_set_drvdata() Add missing platform_set_drvdata in arm_ni_probe(), otherwise calling platform_get_drvdata() in remove returns NULL. The Linux kernel CVE team has assigned CVE-2025-38318 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit 4d5a7680f2b4d0c2955e1d9f9a594b050d637436 and fixed in 6.12.34 with commit 8e43fa9c713a6d084a5732aa6dd41c734845f25e Issue introduced in 6.12 with commit 4d5a7680f2b4d0c2955e1d9f9a594b050d637436 and fixed in 6.15.3 with commit 498129a868ce966af277841f7e32e9f76b3779ad Issue introduced in 6.12 with commit 4d5a7680f2b4d0c2955e1d9f9a594b050d637436 and fixed in 6.16-rc1 with commit fc5106088d6db75df61308ef6de314d1f7959646 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-38318 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/perf/arm-ni.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/8e43fa9c713a6d084a5732aa6dd41c734845f25e https://git.kernel.org/stable/c/498129a868ce966af277841f7e32e9f76b3779ad https://git.kernel.org/stable/c/fc5106088d6db75df61308ef6de314d1f7959646