In the Linux kernel, the following vulnerability has been resolved:
ASoC: ops: Fix bounds check for _sx controls
For sx controls the semantics of the max field is not the usual one, max is the number of steps rather than the maximum value. This means that our check in sndsocputvolsw_sx() needs to just check against the maximum value.
{ "vanir_signatures": [ { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b50c9641897274c3faef5f95ac852f54b94be2e8", "target": { "file": "sound/soc/soc-ops.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "7063021421886112947976438770823103872", "165515669346188532925099373556916644694", "21990202387758273653593000687731397915", "119557172079863362656565264318325811670" ] }, "id": "CVE-2022-49005-1f837135", "deprecated": false, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b50c9641897274c3faef5f95ac852f54b94be2e8", "target": { "file": "sound/soc/soc-ops.c", "function": "snd_soc_put_volsw_sx" }, "digest": { "length": 963.0, "function_hash": "268255181997843111796336060136449679551" }, "id": "CVE-2022-49005-3271e22a", "deprecated": false, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@73dce3c1d48c4662bdf3ccbde1492c2cb4bfd8ce", "target": { "file": "sound/soc/soc-ops.c", "function": "snd_soc_put_volsw_sx" }, "digest": { "length": 963.0, "function_hash": "268255181997843111796336060136449679551" }, "id": "CVE-2022-49005-49809c9d", "deprecated": false, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@46bab25cc0230df60d1c02b651cc5640a14b08df", "target": { "file": "sound/soc/soc-ops.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "7063021421886112947976438770823103872", "165515669346188532925099373556916644694", "21990202387758273653593000687731397915", "119557172079863362656565264318325811670" ] }, "id": "CVE-2022-49005-51175f5f", "deprecated": false, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a95a49f26308782b4056401989ecd7768fda8fa", "target": { "file": "sound/soc/soc-ops.c", "function": "snd_soc_put_volsw_sx" }, "digest": { "length": 953.0, "function_hash": "244534711549455829376533227388918515026" }, "id": "CVE-2022-49005-67b82c3d", "deprecated": false, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98b15c706644bebc19d2e77ccc360cc51444f6d0", "target": { "file": "sound/soc/soc-ops.c", "function": "snd_soc_put_volsw_sx" }, "digest": { "length": 1041.0, "function_hash": "254610876923762554299282915096703206149" }, "id": "CVE-2022-49005-6ff37f61", "deprecated": false, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a95a49f26308782b4056401989ecd7768fda8fa", "target": { "file": "sound/soc/soc-ops.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "7063021421886112947976438770823103872", "165515669346188532925099373556916644694", "21990202387758273653593000687731397915", "119557172079863362656565264318325811670" ] }, "id": "CVE-2022-49005-903b4b04", "deprecated": false, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@73dce3c1d48c4662bdf3ccbde1492c2cb4bfd8ce", "target": { "file": "sound/soc/soc-ops.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "7063021421886112947976438770823103872", "165515669346188532925099373556916644694", "21990202387758273653593000687731397915", "119557172079863362656565264318325811670" ] }, "id": "CVE-2022-49005-90eeb821", "deprecated": false, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@698813ba8c580efb356ace8dbf55f61dac6063a8", "target": { "file": "sound/soc/soc-ops.c", "function": "snd_soc_put_volsw_sx" }, "digest": { "length": 1076.0, "function_hash": "191170845140826237147076525718786087047" }, "id": "CVE-2022-49005-914c2732", "deprecated": false, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@325d94d16e3131b54bdf07356e4cd855e0d853fc", "target": { "file": "sound/soc/soc-ops.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "7063021421886112947976438770823103872", "165515669346188532925099373556916644694", "197104875672734148341839213112192071528", "166860102377205055959286027526101371530" ] }, "id": "CVE-2022-49005-a9c2e899", "deprecated": false, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98b15c706644bebc19d2e77ccc360cc51444f6d0", "target": { "file": "sound/soc/soc-ops.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "7063021421886112947976438770823103872", "165515669346188532925099373556916644694", "21990202387758273653593000687731397915", "119557172079863362656565264318325811670" ] }, "id": "CVE-2022-49005-aa8b63df", "deprecated": false, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@46bab25cc0230df60d1c02b651cc5640a14b08df", "target": { "file": "sound/soc/soc-ops.c", "function": "snd_soc_put_volsw_sx" }, "digest": { "length": 963.0, "function_hash": "268255181997843111796336060136449679551" }, "id": "CVE-2022-49005-bb7ef430", "deprecated": false, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@325d94d16e3131b54bdf07356e4cd855e0d853fc", "target": { "file": "sound/soc/soc-ops.c", "function": "snd_soc_put_volsw_sx" }, "digest": { "length": 1076.0, "function_hash": "191170845140826237147076525718786087047" }, "id": "CVE-2022-49005-d199d207", "deprecated": false, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e46adadf19248d59af3aa6bc52e09115bf479bf7", "target": { "file": "sound/soc/soc-ops.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "7063021421886112947976438770823103872", "165515669346188532925099373556916644694", "21990202387758273653593000687731397915", "119557172079863362656565264318325811670" ] }, "id": "CVE-2022-49005-d42297da", "deprecated": false, "signature_type": "Line", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e46adadf19248d59af3aa6bc52e09115bf479bf7", "target": { "file": "sound/soc/soc-ops.c", "function": "snd_soc_put_volsw_sx" }, "digest": { "length": 953.0, "function_hash": "244534711549455829376533227388918515026" }, "id": "CVE-2022-49005-e7db95f0", "deprecated": false, "signature_type": "Function", "signature_version": "v1" }, { "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@698813ba8c580efb356ace8dbf55f61dac6063a8", "target": { "file": "sound/soc/soc-ops.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "7063021421886112947976438770823103872", "165515669346188532925099373556916644694", "197104875672734148341839213112192071528", "166860102377205055959286027526101371530" ] }, "id": "CVE-2022-49005-fa28d3a7", "deprecated": false, "signature_type": "Line", "signature_version": "v1" } ] }