Description
In the Linux kernel, the following vulnerability has been resolved:
ASoC: codecs: wcd938x: fix incorrect used of portid
Mixer controls have the channel id in mixer->reg, which is not same as port id. port id should be derived from chan_info array. So fix this. Without this, its possible that we could corrupt struct wcd938x_sdw_priv by accessing port_map array out of range with channel id instead of port id.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= e8ba1e05bdc016700c85fad559a812c2e795442f, < aa7152f9f117b3e66b3c0d4158ca4c6d46ab229f; >= e8ba1e05bdc016700c85fad559a812c2e795442f, < 9167f2712dc8c24964840a4d1e2ebf130e846b95; >= e8ba1e05bdc016700c85fad559a812c2e795442f, < c5c1546a654f613e291a7c5d6f3660fc1eb6d0c7 |
| Linux | Linux | 5.14 |
| linux | linux_kernel | >= e8ba1e05bdc0, < aa7152f9f117 |
| linux | linux_kernel | >= e8ba1e05bdc0, < 9167f2712dc8 |
| linux | linux_kernel | >= e8ba1e05bdc0, < c5c1546a654f |
| linux | linux_kernel | 5.14 |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
| linux | linux_kernel | — |
References
- https://git.kernel.org/stable/c/9167f2712dc8c24964840a4d1e2ebf130e846b95Patch
- https://git.kernel.org/stable/c/aa7152f9f117b3e66b3c0d4158ca4c6d46ab229fPatch
- https://git.kernel.org/stable/c/c5c1546a654f613e291a7c5d6f3660fc1eb6d0c7Patch
- https://git.kernel.org/stable/c/9167f2712dc8c24964840a4d1e2ebf130e846b95Patch
- https://git.kernel.org/stable/c/aa7152f9f117b3e66b3c0d4158ca4c6d46ab229fPatch
- https://git.kernel.org/stable/c/c5c1546a654f613e291a7c5d6f3660fc1eb6d0c7Patch
Timeline
- Published
- Jun 20, 2024
- Last modified
- Aug 4, 2026
- NVD status
- Modified