# CVE-2025-38486: soundwire: Revert "soundwire: qcom: Add set\_channel\_map api support"

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.24% (percentile 9, 2026-11-26)
- **Published:** 2025-07-28T11:21:50.349Z
- **Modified:** 2026-08-05T12:02:18.718Z

## Who should check

- Anyone running Linux \>= 7796c97df6b1b2206681a07f3c80f6023a6593d5, \< 207cea8b72fcbdf4e6db178e54186ed4f1514b3c; \>= 7796c97df6b1b2206681a07f3c80f6023a6593d5, \< 834bce6a715ae9a9c4dce7892454a19adf22b013
- Anyone running Linux 6.15

## Description

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

soundwire: Revert "soundwire: qcom: Add set\_channel\_map api support"

This reverts commit 7796c97df6b1b2206681a07f3c80f6023a6593d5.

This patch broke Dragonboard 845c (sdm845). I see:

    Unexpected kernel BRK exception at EL1
    Internal error: BRK handler: 00000000f20003e8 \[\#1\]  SMP
    pc : qcom\_swrm\_set\_channel\_map+0x7c/0x80 \[soundwire\_qcom\]
    lr : snd\_soc\_dai\_set\_channel\_map+0x34/0x78
    Call trace:
     qcom\_swrm\_set\_channel\_map+0x7c/0x80 \[soundwire\_qcom\] (P)
     sdm845\_dai\_init+0x18c/0x2e0 \[snd\_soc\_sdm845\]
     snd\_soc\_link\_init+0x28/0x6c
     snd\_soc\_bind\_card+0x5f4/0xb0c
     snd\_soc\_register\_card+0x148/0x1a4
     devm\_snd\_soc\_register\_card+0x50/0xb0
     sdm845\_snd\_platform\_probe+0x124/0x148 \[snd\_soc\_sdm845\]
     platform\_probe+0x6c/0xd0
     really\_probe+0xc0/0x2a4
     \_\_driver\_probe\_device+0x7c/0x130
     driver\_probe\_device+0x40/0x118
     \_\_device\_attach\_driver+0xc4/0x108
     bus\_for\_each\_drv+0x8c/0xf0
     \_\_device\_attach+0xa4/0x198
     device\_initial\_probe+0x18/0x28
     bus\_probe\_device+0xb8/0xbc
     deferred\_probe\_work\_func+0xac/0xfc
     process\_one\_work+0x244/0x658
     worker\_thread+0x1b4/0x360
     kthread+0x148/0x228
     ret\_from\_fork+0x10/0x20
    Kernel panic - not syncing: BRK handler: Fatal exception

Dan has also reported following issues with the original patch
https://lore.kernel.org/all/33fe8fe7-719a-405a-9ed2-d9f816ce1d57@sabinyo.mountain/

Bug \#1:
The zeroeth element of ctrl-\>pconfig\[\] is supposed to be unused.  We
start counting at 1.  However this code sets ctrl-\>pconfig\[0\].ch\_mask = 128.

Bug \#2:
There are SLIM\_MAX\_TX\_PORTS (16) elements in tx\_ch\[\] array but only
QCOM\_SDW\_MAX\_PORTS + 1 (15) in the ctrl-\>pconfig\[\] array so it corrupts
memory like Yongqin Liu pointed out.

Bug 3:
Like Jie Gan pointed out, it erases all the tx information with the rx
information.

## Affected and fixed versions

- Linux: \>= 7796c97df6b1b2206681a07f3c80f6023a6593d5, \< 207cea8b72fcbdf4e6db178e54186ed4f1514b3c; \>= 7796c97df6b1b2206681a07f3c80f6023a6593d5, \< 834bce6a715ae9a9c4dce7892454a19adf22b013 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 834bce6a715ae9a9c4dce7892454a19adf22b013 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38486.md
Affected: Linux >= 7796c97df6b1b2206681a07f3c80f6023a6593d5, < 207cea8b72fcbdf4e6db178e54186ed4f1514b3c; >= 7796c97df6b1b2206681a07f3c80f6023a6593d5, < 834bce6a715ae9a9c4dce7892454a19adf22b013; Linux 6.15
Fixed in: Linux 207cea8b72fcbdf4e6db178e54186ed4f1514b3c, Linux 834bce6a715ae9a9c4dce7892454a19adf22b013

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-38486 being exploited?

There is no confirmed exploitation: CVE-2025-38486 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38486?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 7796c97df6b1b2206681a07f3c80f6023a6593d5, \< 207cea8b72fcbdf4e6db178e54186ed4f1514b3c; \>= 7796c97df6b1b2206681a07f3c80f6023a6593d5, \< 834bce6a715ae9a9c4dce7892454a19adf22b013; Linux 6.15.

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

Yes. Fixed in Linux 207cea8b72fcbdf4e6db178e54186ed4f1514b3c, Linux 834bce6a715ae9a9c4dce7892454a19adf22b013. Upgrade Linux to 834bce6a715ae9a9c4dce7892454a19adf22b013 or later.

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

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/207cea8b72fcbdf4e6db178e54186ed4f1514b3c>
- patch: <https://git.kernel.org/stable/c/834bce6a715ae9a9c4dce7892454a19adf22b013>

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

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