ASoC: codecs: wcd938x: fix incorrect used of portid
Published Jun 20, 2024
9.8
CRITICALCVSS 3.1
EPSS 0.46%
Description
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
-
Affected
- ≥ , <
- ≥ , <
- ≥ , <
-
Affected
- 5.14
Unaffected
- ≥ 0, < 5.14
- ≥ 5.15.22, ≤ 5.15.*
- ≥ 5.16.8, ≤ 5.16.*
- 5.17
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
- ≥ 5.14 · < 5.15.22
- ≥ 5.16 · < 5.16.8
- 5.17
- 5.17
-
Affected
- 5.14
-
Affected
- ≥ e8ba1e05bdc0, < 9167f2712dc8
- ≥ e8ba1e05bdc0, < aa7152f9f117
- ≥ e8ba1e05bdc0, < c5c1546a654f
Default status is the baseline for the product. Each version can override it (patched versions can be marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Linux | Linux Kernel | unknown | Affected
|
| Linux | Linux Kernel | unknown | Affected
|
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (9)
- https://access.redhat.com/security/cve/CVE-2022-48716 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2293286 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-53595 Advisory
- https://git.kernel.org/stable/c/9167f2712dc8c24964840a4d1e2ebf130e846b95 Patch
- https://git.kernel.org/stable/c/aa7152f9f117b3e66b3c0d4158ca4c6d46ab229f Patch
- https://git.kernel.org/stable/c/c5c1546a654f613e291a7c5d6f3660fc1eb6d0c7 Patch
- https://lore.kernel.org/linux-cve-announce/2024062055-CVE-2022-48716-7621@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-48716
- https://www.cve.org/CVERecord?id=CVE-2022-48716
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
GitHub
No data