What’s Vulnerable › Vulnerabilities
CVE-2022-48716: ASoC: codecs: wcd938x: fix incorrect used of portid
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-06-20 · updated 2026-08-04
- Weakness: CWE-400
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.
Affected products
- Linux kernel: from 5.14 before 5.15.22; from 5.16 before 5.16.8; 5.17-rc1, 5.17-rc2 — fixed in 5.15.22, 5.16.8
How to fix
Upgrade to a fixed version: Linux kernel 5.15.22, 5.16.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/9167f2712dc8c24964840a4d1e2ebf130e846b95
- https://git.kernel.org/stable/c/aa7152f9f117b3e66b3c0d4158ca4c6d46ab229f
- https://git.kernel.org/stable/c/c5c1546a654f613e291a7c5d6f3660fc1eb6d0c7
- https://git.kernel.org/stable/c/9167f2712dc8c24964840a4d1e2ebf130e846b95
- https://git.kernel.org/stable/c/aa7152f9f117b3e66b3c0d4158ca4c6d46ab229f
- https://git.kernel.org/stable/c/c5c1546a654f613e291a7c5d6f3660fc1eb6d0c7
Get alerted when CVE-2022-48716 or the next vulnerability affects your stack