Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: ASoC: qcom: Fix sc7280 lpass potential buffer overflow Case values introduced in commit 5f78e1fb7a3e ("ASoC: qcom: Add driver support for audioreach solution") cause out of bounds access in arrays of sc7280 driver data (e.g. in case of RX_CODEC_DMA_RX_0 in sc7280_snd_hw_params()). Redefine LPASS_MAX_PORTS to consider the maximum possible port id for q6dsp as sc7280 driver utilizes some of those values. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 77d0ffef793da818741127f4905a3e3d45d05ac7 before d78888853eb53f47ae16cf3aa5d0444d0331b9f8; affected 77d0ffef793da818741127f4905a3e3d45d05ac7 before a12c14577882b1f2b4cff0f86265682f16e97b0c; affected 77d0ffef793da818741127f4905a3e3d45d05ac7 before c0ce01e0ff8a0d61a7b089ab309cdc12bc527c39; affected 77d0ffef793da818741127f4905a3e3d45d05ac7 before b807b7c81a6d066757a94af7b8fa5b6a37e4d0b3; affected 77d0ffef793da818741127f4905a3e3d45d05ac7 before a31a4934b31faea76e735bab17e63d02fcd8e029 |
| Linux / Linux | affected 5.18; unaffected 0 before 5.18; unaffected 6.1.136 through 6.1.*; unaffected 6.6.88 through 6.6.*; unaffected 6.12.25 through 6.12.*; unaffected 6.14.4 through 6.14.*; unaffected 6.15 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/d78888853eb53f47ae16cf3aa5d0444d0331b9f8
- https://git.kernel.org/stable/c/a12c14577882b1f2b4cff0f86265682f16e97b0c
- https://git.kernel.org/stable/c/c0ce01e0ff8a0d61a7b089ab309cdc12bc527c39
- https://git.kernel.org/stable/c/b807b7c81a6d066757a94af7b8fa5b6a37e4d0b3
- https://git.kernel.org/stable/c/a31a4934b31faea76e735bab17e63d02fcd8e029
ADP enrichment
No English description supplied.