Skip to main content

Linux Kernel CVE-2025-38486

MEDIUM
2025-07-28 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access local system with SDM845 SoC
  2. Delivery
    Trigger soundwire_qcom driver probe (automatic at boot or via module load)
  3. Exploit
    Off-by-one and array overrun corrupt kernel memory in pconfig[]
  4. Execution
    BRK exception fires at EL1 in qcom_swrm_set_channel_map
  5. Impact
    Kernel panic denies system availability

Vulnerability Assessment

Exploitation Conditions

Exploitation requires a system with Qualcomm SDM845 SoC hardware (e.g., Dragonboard 845c) running a Linux kernel version containing the faulty commit 7796c97df6b1b and not yet patched with the revert. The crash occurs automatically during soundwire driver probe at boot - no attacker interaction is needed once the system is running a vulnerable kernel on affected hardware. For a deliberate denial-of-service attack, the attacker needs at minimum local access sufficient to trigger module load (PR:L). There is no network attack surface: AV:L in the CVSS vector confirms this is entirely local. Systems without Qualcomm SDM845 hardware, or running kernel versions that never included the original broken commit, are not affected.

Impact

Real-world risk is low-to-moderate and primarily limited to availability. The CVSS 3.1 base score of 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) is well-calibrated: exploitation requires local access with standard user privileges, and impact is exclusively availability (kernel panic). EPSS at 0.12% (2nd percentile) corroborates that this is not a widely targeted or easily weaponized issue. There is no CISA KEV listing and no known public exploit. The practical impact is a denial-of-service via kernel panic on Qualcomm SDM845 hardware during soundwire driver probe - the crash occurs deterministically at boot on affected devices, rather than requiring crafted input, meaning this is more a regression/availability bug than a typical security vulnerability. The confined hardware scope (SDM845 SoC, primarily Dragonboard 845c developer boards and a limited set of consumer devices) further limits blast radius. The '*' wildcard CPE may indicate prior stable kernel versions were also affected before backported reverts; the exact stable version boundary is not independently confirmed from available references.

Exploit ScenarioDerived

On a Qualcomm SDM845-based system (such as Dragonboard 845c) running an affected kernel version, the soundwire_qcom driver automatically probes during boot, invoking qcom_swrm_set_channel_map which corrupts kernel memory due to the array bounds mismatch, triggering a BRK exception at EL1 and kernel panic before user space is fully initialized. A local attacker with the ability to load or reload the soundwire_qcom module could also trigger this crash on demand to cause a denial of service. No public proof-of-concept is required beyond loading the affected driver on vulnerable hardware.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Kernel panic via memory corruption in the Qualcomm SoundWire driver affects Linux 6.16-rc1 through 6.16-rc6 on systems using Qualcomm SDM845 SoC (e.g., Dragonboard 845c). The faulty commit introduced three distinct bugs in qcom_swrm_set_channel_map: an off-by-one that clobbers pconfig[0], an out-of-bounds write due to mismatched array sizes (tx_ch[] has 16 entries but pconfig[] only 15), and RX data overwriting TX channel configuration - collectively triggering a BRK exception at EL1 and kernel panic during audio subsystem probe. No public exploit is identified and EPSS is 0.12%, consistent with a regression bug rather than an attacker-targeted vulnerability; the primary risk is system unavailability on affected hardware.

RemediationAI

Apply the upstream revert commits that remove the faulty qcom_swrm_set_channel_map implementation: https://git.kernel.org/stable/c/207cea8b72fcbdf4e6db178e54186ed4f1514b3c and https://git.kernel.org/stable/c/834bce6a715ae9a9c4dce7892454a19adf22b013. Distributions shipping 6.16-rc kernels or backporting the original broken commit (7796c97df6b1b) should apply these reverts immediately. As a workaround on affected SDM845 systems prior to patching, blacklisting the soundwire_qcom kernel module (modprobe.d blacklist soundwire_qcom) will prevent the driver from probing and thus prevent the kernel panic, though this disables SoundWire audio functionality entirely. No other compensating control can preserve audio functionality while avoiding the crash, given that the panic occurs during kernel driver initialization.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The SoundWire subsystem in the Linux kernel provides a synchronous serial interface for audio devices, and the Qualcomm (qcom) SoundWire controller driver manages channel mapping between software DAIs and hardware ports. The reverted commit (7796c97df6b1b) introduced qcom_swrm_set_channel_map, which contained three compounding memory safety flaws: (1) accessing ctrl->pconfig[0] when the array is indexed from 1 by design, (2) iterating up to SLIM_MAX_TX_PORTS (16) elements into ctrl->pconfig[], which is only QCOM_SDW_MAX_PORTS+1 (15) elements wide - a classic off-by-one heap/stack corruption - and (3) overwriting the TX port configuration with RX data. The resulting memory corruption manifests as an unexpected BRK exception at EL1 during platform_probe of the sdm845 sound card, producing a kernel panic. Affected CPEs include cpe:2.3:o:linux:linux_kernel with 6.16-rc1 through 6.16-rc6, as well as an open-ended wildcard entry suggesting backport exposure. CWE classification is not formally assigned but the root cause class is CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) combined with CWE-193 (Off-by-One Error).

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local vector confirmed by driver probe context; PR:L reflects minimum local access needed; pure availability impact as memory corruption causes kernel panic only.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 6.1 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
niche Qualcomm SDM845 SoC hardware required for impact
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc6:*:*:*:*:*:*

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy