ASoC: ops: Check bounds for second channel in snd_soc_put_volsw_sx()
Published Oct 21, 2024
7.8
HIGHCVSS 3.1
EPSS 0.24%
Description
The bounds checks in snd_soc_put_volsw_sx() are only being applied to the first channel, meaning it is possible to write out of bounds values to the second channel in stereo controls. Add appropriate checks.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints-
- Version
-
- Version 4.14.265StatusaffectedConstraints<4.14.303
- Version 4.19.228StatusaffectedConstraints<4.19.270
- Version 4.9.300StatusaffectedConstraints<4.9.337
- Version 5.10.99StatusaffectedConstraints<5.10.160
- Version 5.15.22StatusaffectedConstraints<5.15.84
- Version 5.16.8StatusaffectedConstraints<5.17
- Version 5.4.178StatusaffectedConstraints<5.4.228
- Version
-
- Version 5.17StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<5.17
- Version 4.14.303StatusunaffectedConstraints<=4.14.*
- Version 4.19.270StatusunaffectedConstraints<=4.19.*
- Version 4.9.337StatusunaffectedConstraints<=4.9.*
- Version 5.10.160StatusunaffectedConstraints<=5.10.*
- Version 5.15.84StatusunaffectedConstraints<=5.15.*
- Version 5.4.228StatusunaffectedConstraints<=5.4.*
- Version 6.0.14StatusunaffectedConstraints<=6.0.*
- Version 6.1StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| |||||||||||||||||||||||||||||||||
| Linux | Linux | unaffected |
| |||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
- < 4.9.337
- ≥ 4.10 · < 4.14.303
- ≥ 4.15 · < 4.19.270
- ≥ 4.20 · < 5.4.228
- ≥ 5.5 · < 5.10.160
- ≥ 5.11 · < 5.15.84
- ≥ 5.16 · < 6.0.14
- 6.1
- 6.1
- 6.1
- 6.1
- 6.1
- 6.1
- 6.1
- 6.1
No data.
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Out of support scope
Red Hat Enterprise Linux 7
kernel-rt
Out of support scope
Red Hat Enterprise Linux 8
kernel
Affected
Red Hat Enterprise Linux 8
kernel-rt
Affected
Red Hat Enterprise Linux 9
kernel
Affected
Red Hat Enterprise Linux 9
kernel-rt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (14)
- https://access.redhat.com/security/cve/CVE-2022-48951 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2320688 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-53830 Advisory
- https://git.kernel.org/stable/c/1798b62d642e7b3d4ea3403914c3caf4e438465d Patch
- https://git.kernel.org/stable/c/18a168d85eadcfd45f015b5ecd2a97801b959e43 Patch
- https://git.kernel.org/stable/c/50b5f6d4d9d2d69a7498c44fd8b26e13d73d3d98 Patch
- https://git.kernel.org/stable/c/56288987843c3cb343e81e5fa51549cbaf541bd0 Patch
- https://git.kernel.org/stable/c/9796d07c753164b7e6b0d7ef23fb4482840a9ef8 Patch
- https://git.kernel.org/stable/c/97eea946b93961fffd29448dcda7398d0d51c4b2 Patch
- https://git.kernel.org/stable/c/cf1c225f1927891ae388562b78ced7840c3723b9 Patch
- https://git.kernel.org/stable/c/cf611d786796ec33da09d8c83d7d7f4e557b27de Patch
- https://lore.kernel.org/linux-cve-announce/2024102141-CVE-2022-48951-da5f@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-48951
- https://www.cve.org/CVERecord?id=CVE-2022-48951
Change history (0)
No recorded changes yet.