{"id":"CVE-2025-68370","state":"PUBLISHED","title":"coresight: tmc: add the handle of the event to the path","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncoresight: tmc: add the handle of the event to the path\n\nThe handle is essential for retrieving the AUX_EVENT of each CPU and is\nrequired in perf mode. It has been added to the coresight_path so that\ndependent devices can access it from the path when needed.\n\nThe existing bug can be reproduced with:\nperf record -e cs_etm//k -C 0-9 dd if=/dev/zero of=/dev/null\n\nShowing an oops as follows:\nUnable to handle kernel paging request at virtual address 000f6e84934ed19e\n\nCall trace:\n tmc_etr_get_buffer+0x30/0x80 [coresight_tmc] (P)\n catu_enable_hw+0xbc/0x3d0 [coresight_catu]\n catu_enable+0x70/0xe0 [coresight_catu]\n coresight_enable_path+0xb0/0x258 [coresight]","publishedAt":"2025-12-24T10:32:56.149Z","updatedAt":"2026-08-05T12:11:06.086Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"080ee83cc361451a7de7b5486c7f96ce454f7203","status":"affected","lessThan":"faa8f38f7ccb344ace2c1f364efc70e3a12d32f3","versionType":"git"},{"version":"080ee83cc361451a7de7b5486c7f96ce454f7203","status":"affected","lessThan":"d0c9effd82f2c19b92acd07d357fac5f392d549a","versionType":"git"},{"version":"080ee83cc361451a7de7b5486c7f96ce454f7203","status":"affected","lessThan":"aaa5abcc9d44d2c8484f779ab46d242d774cabcb","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwtracing/coresight/coresight-etm-perf.c","drivers/hwtracing/coresight/coresight-tmc-etr.c","include/linux/coresight.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.17.13","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18.2","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwtracing/coresight/coresight-etm-perf.c","drivers/hwtracing/coresight/coresight-tmc-etr.c","include/linux/coresight.h"]}],"references":["https://git.kernel.org/stable/c/faa8f38f7ccb344ace2c1f364efc70e3a12d32f3","https://git.kernel.org/stable/c/d0c9effd82f2c19b92acd07d357fac5f392d549a","https://git.kernel.org/stable/c/aaa5abcc9d44d2c8484f779ab46d242d774cabcb"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68370.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68370","state":"PUBLISHED","datePublished":"2025-12-24T10:32:56.149Z","dateUpdated":"2026-08-05T12:11:06.086Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-16T14:48:05.309Z"},"containers":{"cna":{"title":"coresight: tmc: add the handle of the event to the path","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncoresight: tmc: add the handle of the event to the path\n\nThe handle is essential for retrieving the AUX_EVENT of each CPU and is\nrequired in perf mode. It has been added to the coresight_path so that\ndependent devices can access it from the path when needed.\n\nThe existing bug can be reproduced with:\nperf record -e cs_etm//k -C 0-9 dd if=/dev/zero of=/dev/null\n\nShowing an oops as follows:\nUnable to handle kernel paging request at virtual address 000f6e84934ed19e\n\nCall trace:\n tmc_etr_get_buffer+0x30/0x80 [coresight_tmc] (P)\n catu_enable_hw+0xbc/0x3d0 [coresight_catu]\n catu_enable+0x70/0xe0 [coresight_catu]\n coresight_enable_path+0xb0/0x258 [coresight]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"080ee83cc361451a7de7b5486c7f96ce454f7203","status":"affected","lessThan":"faa8f38f7ccb344ace2c1f364efc70e3a12d32f3","versionType":"git"},{"version":"080ee83cc361451a7de7b5486c7f96ce454f7203","status":"affected","lessThan":"d0c9effd82f2c19b92acd07d357fac5f392d549a","versionType":"git"},{"version":"080ee83cc361451a7de7b5486c7f96ce454f7203","status":"affected","lessThan":"aaa5abcc9d44d2c8484f779ab46d242d774cabcb","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwtracing/coresight/coresight-etm-perf.c","drivers/hwtracing/coresight/coresight-tmc-etr.c","include/linux/coresight.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.17.13","status":"unaffected","lessThanOrEqual":"6.17.*","versionType":"semver"},{"version":"6.18.2","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/hwtracing/coresight/coresight-etm-perf.c","drivers/hwtracing/coresight/coresight-tmc-etr.c","include/linux/coresight.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/faa8f38f7ccb344ace2c1f364efc70e3a12d32f3"},{"url":"https://git.kernel.org/stable/c/d0c9effd82f2c19b92acd07d357fac5f392d549a"},{"url":"https://git.kernel.org/stable/c/aaa5abcc9d44d2c8484f779ab46d242d774cabcb"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerability is reached locally through perf_event_open(), perf AUX-buffer mmap, and event enablement for the CoreSight ETM PMU.\nAC:L - Triggering is deterministic on an affected TMC-ETR/CATU topology and requires no race; any heap grooming needed for deeper exploitation remains attacker-controlled.\nPR:L - An unprivileged user can use a self-targeted, user-only cs_etm//u event, avoiding both perf_allow_cpu() and perf_allow_kernel(). User-namespace capabilities are unnecessary.\nUI:N - The attacker can create, map, and enable the perf event directly without action by another user.\nS:U - The vulnerable CoreSight driver and the affected kernel memory and execution context belong to the same kernel security authority.\nC:H - The coresight_path-to-perf_output_handle type confusion causes out-of-bounds heap reads and attacker-groomable pointer chasing. Successful exploitation can provide kernel-memory disclosure as part of the resulting memory-access primitive.\nI:H - Bogus etr_buf fields can program CATU translation or pass-through state incorrectly, allowing ETR DMA to target unintended physical memory and potentially corrupt kernel data or code.\nA:H - The documented trigger produces a kernel paging-request oops, which can panic the system or leave it unusable and can be invoked repeatedly."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:11:06.086Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.17.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}