CVE-2025-68376
coresight: ETR: Fix ETR buffer use-after-free issue
Mitigation
- Upgrade Linux to 6.6 or later.
Who should check
- Anyone running Linux >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 5d5d130835b417c7bfd6c942f0149e34397d4463; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 4e83434247ff8005a0b9a1ee997864abf8f259ec; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 70acbc9c77686b7a521af6d7a543dcd9c324cf07; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < cda077a19f5c8d6ec61e5b97deca203d95e3a422; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 35501ac3c7d40a7bb9568c2f89d6b56beaf9bed3; fdd3ceb0001da6768bede9779a0190a42e65c404; >= 6.5.8, < 6.6
- Anyone running Linux 6.6
Vulnerability facts
- Affected
- Linux >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 5d5d130835b417c7bfd6c942f0149e34397d4463; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 4e83434247ff8005a0b9a1ee997864abf8f259ec; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 70acbc9c77686b7a521af6d7a543dcd9c324cf07; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < cda077a19f5c8d6ec61e5b97deca203d95e3a422; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 35501ac3c7d40a7bb9568c2f89d6b56beaf9bed3; fdd3ceb0001da6768bede9779a0190a42e65c404; >= 6.5.8, < 6.6; Linux 6.6
- Fixed in
- Linux 5d5d130835b417c7bfd6c942f0149e34397d4463, Linux 4e83434247ff8005a0b9a1ee997864abf8f259ec, Linux 70acbc9c77686b7a521af6d7a543dcd9c324cf07, Linux 35501ac3c7d40a7bb9568c2f89d6b56beaf9bed3, Linux 6.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
Description
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 5d5d130835b417c7bfd6c942f0149e34397d4463; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 4e83434247ff8005a0b9a1ee997864abf8f259ec; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 70acbc9c77686b7a521af6d7a543dcd9c324cf07; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < cda077a19f5c8d6ec61e5b97deca203d95e3a422; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 35501ac3c7d40a7bb9568c2f89d6b56beaf9bed3; fdd3ceb0001da6768bede9779a0190a42e65c404; >= 6.5.8, < 6.6 | — | cvelist |
| Linux | 6.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-68376. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-68376.md Affected: Linux >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 5d5d130835b417c7bfd6c942f0149e34397d4463; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 4e83434247ff8005a0b9a1ee997864abf8f259ec; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 70acbc9c77686b7a521af6d7a543dcd9c324cf07; >= bd2767ec3df2775bc336f44… Fixed in: Linux 5d5d130835b417c7bfd6c942f0149e34397d4463, Linux 4e83434247ff8005a0b9a1ee997864abf8f259ec, Linux 70acbc9c77686b7a521af6d7a543dcd9c324cf07, Linux 35501ac3c7d40a7bb9568c2f89d6b56beaf9bed3, Linux 6.6 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/5d5d130835b417c7bfd6c942f0149e34397d4463
- https://git.kernel.org/stable/c/4e83434247ff8005a0b9a1ee997864abf8f259ec
- https://git.kernel.org/stable/c/70acbc9c77686b7a521af6d7a543dcd9c324cf07
- https://git.kernel.org/stable/c/cda077a19f5c8d6ec61e5b97deca203d95e3a422
- https://git.kernel.org/stable/c/35501ac3c7d40a7bb9568c2f89d6b56beaf9bed3
FAQ
Is CVE-2025-68376 being exploited?
There is no confirmed exploitation: CVE-2025-68376 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-68376?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2025-68376?
Linux >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 5d5d130835b417c7bfd6c942f0149e34397d4463; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 4e83434247ff8005a0b9a1ee997864abf8f259ec; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 70acbc9c77686b7a521af6d7a543dcd9c324cf07; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < cda077a19f5c8d6ec61e5b97deca203d95e3a422; >= bd2767ec3df2775bc336f441f9068a989ccb919d, < 35501ac3c7d40a7bb9568c2f89d6b56beaf9bed3; fdd3ceb0001da6768bede9779a0190a42e65c404; >= 6.5.8, < 6.6; Linux 6.6.
Is there a fix for CVE-2025-68376?
Yes. Fixed in Linux 5d5d130835b417c7bfd6c942f0149e34397d4463, Linux 4e83434247ff8005a0b9a1ee997864abf8f259ec, Linux 70acbc9c77686b7a521af6d7a543dcd9c324cf07, Linux 35501ac3c7d40a7bb9568c2f89d6b56beaf9bed3, Linux 6.6. Upgrade Linux to 6.6 or later.
How do I check if I'm affected by CVE-2025-68376?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.