CVE-2025-68376
Use-After-Free in Linux Kernel Coresight ETR Buffer Management
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
| linux | kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free issue in the Linux kernel's coresight ETR component. When ETR is enabled in CS_MODE_SYSFS mode and the buffer size is changed and re-enabled, the system frees the old buffer memory but the ETR buffer pointer still references the freed memory. This leads to a use-after-free condition where the system may access memory that has already been freed, potentially causing instability or crashes.
How can this vulnerability impact me? :
The use-after-free vulnerability can lead to system instability, crashes, or potentially allow an attacker to execute arbitrary code or cause denial of service by exploiting the invalid memory access in the Linux kernel's coresight ETR component.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version where the ETR buffer use-after-free issue is fixed. Specifically, ensure that the kernel includes the patch that checks the ETR mode before updating and releasing the buffer, preventing the use-after-free condition when ETR is enabled as CS_MODE_SYSFS.