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 B6AC331355E for ; Wed, 24 Dec 2025 10:36:10 +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=1766572570; cv=none; b=q9N8ulO7sjMRKVrnnTsITgugxAiBzbi6DiEw3LJQke1r8kmTjsds/MV8Yt/IPSEvpvHpLXQc878QzmtCjETe8tAFDMlBx+7zrAqdQlyM8aNQRhtGNYZ5e5NcInUelwC+zsxT3iWRssTWwJLYJQOq+8U0p66cchvhBKFUuEaELI4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766572570; c=relaxed/simple; bh=/mbFEd1icQKlUDrttNVaWx0JlnN0KGwisbwD1eAnLf8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FzPUdVsN72Ae+pjiaOvJEbIF40h1DUPEaEmc1XiBC+iipwkLzwARb0X1rgzmeHV090vL4g/tdO2aceaJxdcXC/qsuQXKen1sB5G7nTw2HgytOgQE4wB/NNb8EmxLsZwg0dCkcwhy/xFgqI+8FZ0wLQ8+m058HbIueYJm1k3uG9o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2YfbUUL/; 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="2YfbUUL/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7E4CC4CEFB; Wed, 24 Dec 2025 10:36:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766572570; bh=/mbFEd1icQKlUDrttNVaWx0JlnN0KGwisbwD1eAnLf8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=2YfbUUL/18iqTY4wzY+v03MKvjnTPeElTgxpKThEh2rr/R0/Afz7cbOKxFyx2/fmM 2vEaAx51R1ktBw8/RTxYyjOOFWShVIXZqGuYtsfn4zR+BQ6Xhz4EStbbeiLuyabia0 VpLqSm32CC5rZByDAdiJaau+VleJHiXFi91QWUaA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68370: coresight: tmc: add the handle of the event to the path Date: Wed, 24 Dec 2025 11:35:15 +0100 Message-ID: <2025122400-CVE-2025-68370-d381@gregkh> X-Mailer: git-send-email 2.52.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=2713; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EkvwrHibEn7Z4Pitne8O59vtApbZ4R9igQJoOqPqIoI=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneB6/M1zx0THX1uTnMJZlhkwruLphevnXziazku/Khm 2dJq4cKdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEfBgZ5if4lxU+0jp8O8fz hMu+3Ve46/9s2M0wT0sxfbraAuFdBx/luny5rHVuy5WiTwA= 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: tmc: add the handle of the event to the path The handle is essential for retrieving the AUX_EVENT of each CPU and is required in perf mode. It has been added to the coresight_path so that dependent devices can access it from the path when needed. The existing bug can be reproduced with: perf record -e cs_etm//k -C 0-9 dd if=/dev/zero of=/dev/null Showing an oops as follows: Unable to handle kernel paging request at virtual address 000f6e84934ed19e Call trace: tmc_etr_get_buffer+0x30/0x80 [coresight_tmc] (P) catu_enable_hw+0xbc/0x3d0 [coresight_catu] catu_enable+0x70/0xe0 [coresight_catu] coresight_enable_path+0xb0/0x258 [coresight] The Linux kernel CVE team has assigned CVE-2025-68370 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 080ee83cc361451a7de7b5486c7f96ce454f7203 and fixed in 6.17.13 with commit faa8f38f7ccb344ace2c1f364efc70e3a12d32f3 Issue introduced in 6.15 with commit 080ee83cc361451a7de7b5486c7f96ce454f7203 and fixed in 6.18.2 with commit d0c9effd82f2c19b92acd07d357fac5f392d549a Issue introduced in 6.15 with commit 080ee83cc361451a7de7b5486c7f96ce454f7203 and fixed in 6.19-rc1 with commit aaa5abcc9d44d2c8484f779ab46d242d774cabcb 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-68370 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-etm-perf.c drivers/hwtracing/coresight/coresight-tmc-etr.c include/linux/coresight.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/faa8f38f7ccb344ace2c1f364efc70e3a12d32f3 https://git.kernel.org/stable/c/d0c9effd82f2c19b92acd07d357fac5f392d549a https://git.kernel.org/stable/c/aaa5abcc9d44d2c8484f779ab46d242d774cabcb