# CVE-2025-38649: arm64: dts: qcom: qcs615: fix a crash issue caused by infinite loop for Coresight

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **CWE:** CWE-835
- **Published:** 2025-08-22T16:00:53.731Z
- **Modified:** 2026-06-17T09:17:18.073Z

## Who should check

- Anyone running Linux \>= bf469630552a3950d0370dd5fd1f9bf0145d09d5, \< a9aaadcb0a6ce0c19616c46525112bc947c6f2b1; \>= bf469630552a3950d0370dd5fd1f9bf0145d09d5, \< fbe5be7893b8c7f58c999a26839cd30bc07654c6; \>= bf469630552a3950d0370dd5fd1f9bf0145d09d5, \< bd4f35786d5f0798cc1f8c187a81a7c998e6c58f
- Anyone running Linux 6.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

arm64: dts: qcom: qcs615: fix a crash issue caused by infinite loop for Coresight

An infinite loop has been created by the Coresight devices. When only a
source device is enabled, the coresight\_find\_activated\_sysfs\_sink function
is recursively invoked in an attempt to locate an active sink device,
ultimately leading to a stack overflow and system crash. Therefore, disable
the replicator1 to break the infinite loop and prevent a potential stack
overflow.

replicator1\_out   -\>   funnel\_swao\_in6   -\>   tmc\_etf\_swao\_in   -\>  tmc\_etf\_swao\_out
     \|                                                                     \|
replicator1\_in                                                     replicator\_swao\_in
     \|                                                                     \|
replicator0\_out1                                                   replicator\_swao\_out0
     \|                                                                     \|
replicator0\_in                                                     funnel\_in1\_in3
     \|                                                                     \|
tmc\_etf\_out \<- tmc\_etf\_in \<- funnel\_merg\_out \<- funnel\_merg\_in1 \<- funnel\_in1\_out

\[call trace\]
   dump\_backtrace+0x9c/0x128
   show\_stack+0x20/0x38
   dump\_stack\_lvl+0x48/0x60
   dump\_stack+0x18/0x28
   panic+0x340/0x3b0
   nmi\_panic+0x94/0xa0
   panic\_bad\_stack+0x114/0x138
   handle\_bad\_stack+0x34/0xb8
   \_\_bad\_stack+0x78/0x80
   coresight\_find\_activated\_sysfs\_sink+0x28/0xa0 \[coresight\]
   coresight\_find\_activated\_sysfs\_sink+0x5c/0xa0 \[coresight\]
   coresight\_find\_activated\_sysfs\_sink+0x5c/0xa0 \[coresight\]
   coresight\_find\_activated\_sysfs\_sink+0x5c/0xa0 \[coresight\]
   coresight\_find\_activated\_sysfs\_sink+0x5c/0xa0 \[coresight\]
   ...
   coresight\_find\_activated\_sysfs\_sink+0x5c/0xa0 \[coresight\]
   coresight\_enable\_sysfs+0x80/0x2a0 \[coresight\]

side effect after the change:
Only trace data originating from AOSS can reach the ETF\_SWAO and EUD sinks.

## Affected and fixed versions

- Linux: \>= bf469630552a3950d0370dd5fd1f9bf0145d09d5, \< a9aaadcb0a6ce0c19616c46525112bc947c6f2b1; \>= bf469630552a3950d0370dd5fd1f9bf0145d09d5, \< fbe5be7893b8c7f58c999a26839cd30bc07654c6; \>= bf469630552a3950d0370dd5fd1f9bf0145d09d5, \< bd4f35786d5f0798cc1f8c187a81a7c998e6c58f (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38649. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38649.md
Affected: Linux >= bf469630552a3950d0370dd5fd1f9bf0145d09d5, < a9aaadcb0a6ce0c19616c46525112bc947c6f2b1; >= bf469630552a3950d0370dd5fd1f9bf0145d09d5, < fbe5be7893b8c7f58c999a26839cd30bc07654c6; >= bf469630552a3950d0370dd5fd1f9bf0145d09d5, < bd4f35786d5f0798cc1f8c187a81a7c998e6c58f; Linux 6.14
Fixed in: no fixed version listed yet

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.
```

## FAQ

### Is CVE-2025-38649 being exploited?

There is no confirmed exploitation: CVE-2025-38649 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-38649?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38649?

Linux \>= bf469630552a3950d0370dd5fd1f9bf0145d09d5, \< a9aaadcb0a6ce0c19616c46525112bc947c6f2b1; \>= bf469630552a3950d0370dd5fd1f9bf0145d09d5, \< fbe5be7893b8c7f58c999a26839cd30bc07654c6; \>= bf469630552a3950d0370dd5fd1f9bf0145d09d5, \< bd4f35786d5f0798cc1f8c187a81a7c998e6c58f; Linux 6.14.

### Is there a fix for CVE-2025-38649?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-38649?

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.

## References

- patch: <https://git.kernel.org/stable/c/a9aaadcb0a6ce0c19616c46525112bc947c6f2b1>
- patch: <https://git.kernel.org/stable/c/fbe5be7893b8c7f58c999a26839cd30bc07654c6>
- patch: <https://git.kernel.org/stable/c/bd4f35786d5f0798cc1f8c187a81a7c998e6c58f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38649>

HTML: <https://flawdb.com/CVE-2025-38649> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38649>
