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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2025-08-22T16:00:53.731Z
- Modified: 2026-06-17T09:17:18.073Z
- Weaknesses: CWE-835
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from bf469630552a3950d0370dd5fd1f9bf0145d09d5 before a9aaadcb0a6ce0c19616c46525112bc947c6f2b1; from bf469630552a3950d0370dd5fd1f9bf0145d09d5 before fbe5be7893b8c7f58c999a26839cd30bc07654c6; from bf469630552a3950d0370dd5fd1f9bf0145d09d5 before bd4f35786d5f0798cc1f8c187a81a7c998e6c58f; 6.14 (not affected: before 6.14; from 6.15.10 up to 6.15.*; from 6.16.1 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.14 before 6.15.10; from 6.16 before 6.16.1

## References

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

## Sources

- CVE List: [CVE-2025-38649](https://www.cve.org/CVERecord?id=CVE-2025-38649), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38649](https://nvd.nist.gov/vuln/detail/CVE-2025-38649), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38649 · Whole record: https://cve.day/CVE-2025-38649.json · Rebuilt by cve.day 2026-11-25T22:59:03.541Z
