CVEvulnerability
CVE-2021-47502
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-05-24
- Last modified
- 2026-08-04
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Description
In the Linux kernel, the following vulnerability has been resolved:
ASoC: codecs: wcd934x: handle channel mappping list correctly
Currently each channel is added as list to dai channel list, however
there is danger of adding same channel to multiple dai channel list
which endups corrupting the other list where its already added.
This patch ensures that the channel is actually free before adding to
the dai channel list and also ensures that the channel is on the list
before deleting it.
This check was missing previously, and we did not hit this issue as
we were testing very simple usecases with sequence of amixer commands.
Affected configurations
• linux linux kernel (>= 5.6 < 5.10.85)
• linux linux kernel (>= 5.11 < 5.15.8)
• linux linux kernel 5.16
References
- https://git.kernel.org/stable/c/1089dac26c6b4b833323ae6c0ceab29fb30ede72 Patch
- https://git.kernel.org/stable/c/23ba28616d3063bd4c4953598ed5e439ca891101 Patch
- https://git.kernel.org/stable/c/339ffb5b56005582aacc860524d2d208604049d1 Patch
- https://git.kernel.org/stable/c/1089dac26c6b4b833323ae6c0ceab29fb30ede72 Patch
- https://git.kernel.org/stable/c/23ba28616d3063bd4c4953598ed5e439ca891101 Patch
- https://git.kernel.org/stable/c/339ffb5b56005582aacc860524d2d208604049d1 Patch