CVE-2022-48716: ASoC: codecs: wcd938x: fix incorrect used of portid

Published Jun 20, 2024
·
Updated

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 chaninfo array. So fix this. Without this, its possible that we could corrupt struct wcd938xsdwpriv by accessing portmap array out of range with channel id instead of port id.

Affected Software

9 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=5.14<5.15.22
Linux Linux kernel>=5.16<5.16.8
Linux Linux kernel=5.17-rc1
Linux Linux kernel=5.17-rc2
debian/linux<5.16.10-1
5.16.10-1
debian/linux<5.16.10-1
5.16.10-1
debian/linux<5.16.10-1
5.16.10-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.16.10-1
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1
  3. Compensating control

    In the Linux kernel ASoC wcd938x codec code, derive the port ID from the chan_info array before accessing port_map; do not use the mixer control channel ID from mixer->reg as the port_map index.

Event History

Jun 20, 2024
CVE Published
via MITRE·11:13 AM
Data Sourced
via MITRE·11:13 AM
DescriptionSeverity
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·11:15 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-48716?

CVE-2022-48716 has been classified as a medium severity vulnerability in the Linux kernel.

2

What systems are affected by CVE-2022-48716?

CVE-2022-48716 affects versions of the Linux kernel that handle ASoC codecs, specifically the wcd938x driver.

3

How do I fix CVE-2022-48716?

To fix CVE-2022-48716, update your Linux kernel to the latest stable version that contains the patch for this vulnerability.

4

What type of vulnerability is CVE-2022-48716?

CVE-2022-48716 is a coding error that involves incorrect usage of portid in audio mixer controls within the Linux kernel.

5

Can CVE-2022-48716 lead to system compromise?

While CVE-2022-48716 is primarily a coding error, its impact can affect audio processing functionality but does not directly lead to system compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203