ASoC: qcom: sc7280: Fix missing Soundwire runtime stream alloc
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ASoC: qcom: sc7280: Fix missing Soundwire runtime stream alloc
Commit 15c7fab0e047 ("ASoC: qcom: Move Soundwire runtime stream alloc to soundcards") moved the allocation of Soundwire stream runtime from the Qualcomm Soundwire driver to each individual machine sound card driver, except that it forgot to update SC7280 card.
Just like for other Qualcomm sound cards using Soundwire, the card driver should allocate and release the runtime. Otherwise sound playback will result in a NULL pointer dereference or other effect of uninitialized memory accesses (which was confirmed on SDM845 having similar issue).
From the CVE record · Linux
The SC7280 sound card driver does not allocate the Soundwire stream runtime. Sound playback can cause a NULL pointer dereference or other uninitialized-memory access. The input does not specify attacker access, authentication requirements, or user interaction beyond sound playback.
Engineers running Linux kernels with the Qualcomm SC7280 sound card driver should check their systems; affected versions are not specified.