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 047013C1D4D for ; Thu, 24 Sep 2026 16:22:41 +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=1790266963; cv=none; b=pZNaRO/3sFPPuIibSoarUGa8Tr6RV2aTckFL3IhtR/L9Y4seMk4hfst+RglZTkzAHzKU5WFqN1dIezGojpvGbI/8mIvCRIGugn1d7Hgj54Vvg5VWOak+yfCwbJxVO4MsPnq/kPs62DccoMkbcdDM5b1J5V9jh7Ay7T+gowc9E7A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790266963; c=relaxed/simple; bh=JBTL2K42SEt7S6UmYUZk7D7bIgjGNmPxe/c3Fzhx+rA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LzkZWMQlm1bpFcu2cnbbGdcW4ZY7ILHiw4/f9ATk2GlbkgreuWDgkvzNrj0ZEXS3CtjrOKud2dErQd5kD9u2X9f5VvvZTGgrt1q3b0rpjSbKIenU7G63iUMHDqk35sjpb/586j657+X9ybRPDtf7bW02rRIVeE/n44xbFE4R/kM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vbWYm+u6; 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="vbWYm+u6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 712781F000FF; Thu, 24 Sep 2026 16:22:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790266961; bh=amqtYWRte8RrABQRttMbLBQmmYQewOk3rCKkJBxRdBo=; h=From:To:Cc:Subject:Date:Reply-To; b=vbWYm+u6T596avGcFGwgpg4gPzLy9ilCPeTemAUHY0i6IbkIPVmsrB7E0DPiaYzCK ppylm8WY+YAV+Gueash2vHhPckikjrZxjvSVokkDs1cb5qXT5icb7fi/LNSIzvO+zW E4iNBb8isTU6hbwIga8OGhQeDoIeEgCuwi5VzESM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97499: coresight: perf: Retrieve path and source from event data Date: Thu, 24 Sep 2026 18:04:24 +0200 Message-ID: <2026092440-CVE-2026-97499-590f@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=2299; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=46Zy9kQfCT7X4nv2upnrEziNpjA+IoMAVv+quk7648U=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbPRfMaRVsXfxrPu+hmMQtt2Zk63Hzb7roXuEfGdWpq HNnbsGDjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjImbcM82vsl6S8Ntq676nK NK4NyzlsXizjfcQwP0VzNscCC4EbV0TLHeq2lJ1lmO8zFQA= 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: coresight: perf: Retrieve path and source from event data ETM perf callbacks currently use the per-CPU csdev_src pointer, which can race with updates during device registration and unregistration. The AUX setup already builds and stores the path in the event data. Use this path to retrieve the source instead of csdev_src to avoid the race. Export coresight_get_source() and add etm_event_get_ctxt_path() to retrieve the context's path and its source with READ_ONCE() / WRITE_ONCE() accessors. Give the comments to explain why this approach is safe when pause or resume callbacks preempt the disable callback (e.g. via NMI). The Linux kernel CVE team has assigned CVE-2026-97499 to this issue. Affected and fixed versions =========================== Fixed in 6.18.53 with commit 0f4cb08f30011b7625a4fba668fa5c36da5e6637 Fixed in 7.2 with commit f37bc31447c0ddafedb25e3c4a4f4e2284034247 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-97499 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/hwtracing/coresight/coresight-core.c drivers/hwtracing/coresight/coresight-etm-perf.c drivers/hwtracing/coresight/coresight-priv.h 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/0f4cb08f30011b7625a4fba668fa5c36da5e6637 https://git.kernel.org/stable/c/f37bc31447c0ddafedb25e3c4a4f4e2284034247