CVE-2025-68376
In the Linux kernel, the following vulnerability has been resolved: coresight: ETR: Fix ETR buffer use-after-free issue When ETR is enabled as CS_MODE_SYSFS, if the buffer size is changed and enabled again, currently sysfs_buf will point to the newly allocated memory(buf_new) and free the old memory(buf_old). But the etr_buf that is being used by the ETR remains pointed to buf_old, not updated to buf_new. In this case, it will result in a memory use-after-free issue. Fix this by checking ETR's mode before updating and releasing buf_old, if the mode is CS_MODE_SYSFS, then skip updating and releasing it.
Affected versions
Linux kernel versions
6.5.8,
6.6
and later are affected. Fixed in
6.17.13,
6.18.2,
6.19
and their respective stable series.
References
The following references provide additional information about CVE-2025-68376 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/35501ac3c7d40a7bb9568c2f89d6b56beaf9bed3
-
PatchKernel patch commithttps://git.kernel.org/stable/c/70acbc9c77686b7a521af6d7a543dcd9c324cf07
-
PatchKernel patch commithttps://git.kernel.org/stable/c/cda077a19f5c8d6ec61e5b97deca203d95e3a422
Frequently asked questions
-
What is CVE-2025-68376?
CVE-2025-68376 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.5.8 onward and has been patched in 6.17.13, 6.18.2 and 6.19. CVE-2025-68376 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2025-68376?
Yes — CVE-2025-68376 has been patched. Fixed versions include 6.17.13, 6.18.2 and 6.19. If you are running Linux kernel 6.5.8 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-68376 actively exploited?
No — CVE-2025-68376 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.