Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 C14B83815D5 for ; Sun, 19 Jul 2026 09:10:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784452256; cv=none; b=YSZtA5WfmnQslD911Mifvcr4Mj0CmlaTBG7oR25tf+jkE8C75saBuLui9aDsFjjRIrnUWTEQUk5Fj7Wjz7W9aoU4llnbaAxePfuzTS4fr3wAO4Ln/4MeTYVo7mKX6DfDvRmLugJiEpe+0xhdWv0npXW0wmZOA+QVpEduMa2bPt8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784452256; c=relaxed/simple; bh=7WxR7CrHbhcmDQviKIaAEPH8RQeHbVS2aUq5i+ZiLBQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=p9xkMpvwocDdHMDz1HJ/YltHeuQJU+OTZ0VZJOsQIvPz6xdB/fTwbBg96W1HJ0xVY5Nr1I06Yr0lide91vkUZDJ8T70jdVf8AMvUlL03M3xjUgYfeDUq2qKfxUPTEhDDZFlAzCXkcHdJI0PPBm7twWAvlwx/SkKv46xqhNSGJic= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AZ8dV1EW; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="AZ8dV1EW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 379481F00A3A; Sun, 19 Jul 2026 09:10:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784452252; bh=Am/NSw0xDetCYZWlD5ZT35YZ29AmB6tDy/BSusKtEUE=; h=From:To:Cc:Subject:Date:Reply-To; b=AZ8dV1EWhyaxLpGb5wmmt+JHiESKX2itXJbHpN235do5BBmT2QSage1w2pzCGMasz FPKl8QYk8C8XWA1o39GAMhlzjWLjnBp4LTBwsTkjDUEcV2oZxVgkQghcx0RIylEgIS GU1+lmShTjeCfDxexZAWLdM/Nxb0CDKvEZZhLr+8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53370: perf/x86/intel: Improve validation and configuration of ACR masks Date: Sun, 19 Jul 2026 11:09:19 +0200 Message-ID: <2026071918-CVE-2026-53370-9b22@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3253; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qYeQ2Wp+gA07csXRmYqyxI7jsNBM+ei7Qq7uv4MAI7U=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxU+yasiVzstc9eDKDffPC5e8n90av2i6V7/f5eLfP0 1Odc98WdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEbgUyLFgbut669ZrVVsdH JxvjZwhsuNhQJ8owV/zIQ55vFxYtFp8VEqjTGyj0kzn0BAA= 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/x86/intel: Improve validation and configuration of ACR masks Currently there are several issues on the user space ACR mask validation and configuration. - The validation for user space ACR mask (attr.config2) is incomplete, e.g., the ACR mask could include the index which belongs to another ACR events group, but it's not validated. - An early return on an invalid ACR mask caused all subsequent ACR groups to be skipped. - The stale hardware ACR mask (hw.config1) is not cleared before setting new hardware ACR mask. The following changes address all of the above issues. - Figure out the event index group of an ACR group. Any bits in the user-space mask not present in the index group are now dropped. - Instead of an early return on invalid bits, drop only the invalid portions and continue iterating through all ACR events to ensure full configuration. - Explicitly clear the stale hardware ACR mask for each event prior to writing the new configuration. Besides, a non-leader event member of ACR group could be disabled in theory. This could cause bit-shifting errors in the acr_mask of remaining group members. But since ACR sampling requires all events to be active, this should not be a big concern in real use case. Add a "FIXME" comment to notice this risk. The Linux kernel CVE team has assigned CVE-2026-53370 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit ec980e4facef8110f6fce27e5b6344660117f01f and fixed in 6.18.30 with commit aab56b95bee3ff79176b13443cd9d7cfe9747df0 Issue introduced in 6.16 with commit ec980e4facef8110f6fce27e5b6344660117f01f and fixed in 7.0.7 with commit c05e01cef47d9b4969eae2dcf9467e2a555bcb4f Issue introduced in 6.16 with commit ec980e4facef8110f6fce27e5b6344660117f01f and fixed in 7.1 with commit 5ad732a56be46aabf158c16aa0c095291727aaef 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-2026-53370 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: arch/x86/events/intel/core.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/aab56b95bee3ff79176b13443cd9d7cfe9747df0 https://git.kernel.org/stable/c/c05e01cef47d9b4969eae2dcf9467e2a555bcb4f https://git.kernel.org/stable/c/5ad732a56be46aabf158c16aa0c095291727aaef