Paper/Archive/CVE-2022-48716

CVE-2022-48716

Linux Linux — ASoC: codecs: wcd938x: fix incorrect used of portid

Description · from the CVE record

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

ProductAffectedFixed inSource
Linuxe8ba1e05bdc016700c85fad559a812c2e795442f – < aa7152f9f117b3e66b3c0d4158ca4c6d46ab229faa7152f9f117b3e66b3c0d4158ca4c6d46ab229fCNA
Linuxe8ba1e05bdc016700c85fad559a812c2e795442f – < 9167f2712dc8c24964840a4d1e2ebf130e846b959167f2712dc8c24964840a4d1e2ebf130e846b95CNA
Linuxe8ba1e05bdc016700c85fad559a812c2e795442f – < c5c1546a654f613e291a7c5d6f3660fc1eb6d0c7c5c1546a654f613e291a7c5d6f3660fc1eb6d0c7CNA
Linux5.145.15.22CNA
linux_kernele8ba1e05bdc0 – < aa7152f9f117aa7152f9f117CISA-ADP
linux_kernele8ba1e05bdc0 – < 9167f2712dc89167f2712dc8CISA-ADP
linux_kernele8ba1e05bdc0 – < c5c1546a654fc5c1546a654fCISA-ADP
linux_kernel5.14–CISA-ADP
linux_kernelsee advisory–CISA-ADP
linux_kernelsee advisory5.15.22CISA-ADP
linux_kernelsee advisory5.16.8CISA-ADP
linux_kernelsee advisory5.17CISA-ADP

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Linux (CNA)7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgit.kernel.org/stable/c/aa7152f9f117b3e66b3c0d4158ca4c6d46ab229frefgit.kernel.org/stable/c/9167f2712dc8c24964840a4d1e2ebf130e846b95refgit.kernel.org/stable/c/c5c1546a654f613e291a7c5d6f3660fc1eb6d0c7