{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-68370",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-12-16T14:48:05.309Z",
        "datePublished": "2025-12-24T10:32:56.149Z",
        "dateUpdated": "2026-08-05T12:11:06.086Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T12:11:06.086Z"
            },
            "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]"
                }
            ],
            "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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "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"
                    ],
                    "versions": [
                        {
                            "version": "080ee83cc361451a7de7b5486c7f96ce454f7203",
                            "lessThan": "faa8f38f7ccb344ace2c1f364efc70e3a12d32f3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "080ee83cc361451a7de7b5486c7f96ce454f7203",
                            "lessThan": "d0c9effd82f2c19b92acd07d357fac5f392d549a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "080ee83cc361451a7de7b5486c7f96ce454f7203",
                            "lessThan": "aaa5abcc9d44d2c8484f779ab46d242d774cabcb",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "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"
                    ],
                    "versions": [
                        {
                            "version": "6.15",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.15",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.17.13",
                            "lessThanOrEqual": "6.17.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.2",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "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"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
                }
            ],
            "title": "coresight: tmc: add the handle of the event to the path",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}