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.
[
{
"id": "CVE-2022-49005-1f837135",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7063021421886112947976438770823103872",
"165515669346188532925099373556916644694",
"21990202387758273653593000687731397915",
"119557172079863362656565264318325811670"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b50c9641897274c3faef5f95ac852f54b94be2e8",
"target": {
"file": "sound/soc/soc-ops.c"
}
},
{
"id": "CVE-2022-49005-3271e22a",
"signature_version": "v1",
"digest": {
"function_hash": "268255181997843111796336060136449679551",
"length": 963.0
},
"deprecated": false,
"signature_type": "Function",
"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"
}
},
{
"id": "CVE-2022-49005-49809c9d",
"signature_version": "v1",
"digest": {
"function_hash": "268255181997843111796336060136449679551",
"length": 963.0
},
"deprecated": false,
"signature_type": "Function",
"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"
}
},
{
"id": "CVE-2022-49005-51175f5f",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7063021421886112947976438770823103872",
"165515669346188532925099373556916644694",
"21990202387758273653593000687731397915",
"119557172079863362656565264318325811670"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@46bab25cc0230df60d1c02b651cc5640a14b08df",
"target": {
"file": "sound/soc/soc-ops.c"
}
},
{
"id": "CVE-2022-49005-67b82c3d",
"signature_version": "v1",
"digest": {
"function_hash": "244534711549455829376533227388918515026",
"length": 953.0
},
"deprecated": false,
"signature_type": "Function",
"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"
}
},
{
"id": "CVE-2022-49005-6ff37f61",
"signature_version": "v1",
"digest": {
"function_hash": "254610876923762554299282915096703206149",
"length": 1041.0
},
"deprecated": false,
"signature_type": "Function",
"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"
}
},
{
"id": "CVE-2022-49005-903b4b04",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7063021421886112947976438770823103872",
"165515669346188532925099373556916644694",
"21990202387758273653593000687731397915",
"119557172079863362656565264318325811670"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a95a49f26308782b4056401989ecd7768fda8fa",
"target": {
"file": "sound/soc/soc-ops.c"
}
},
{
"id": "CVE-2022-49005-90eeb821",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7063021421886112947976438770823103872",
"165515669346188532925099373556916644694",
"21990202387758273653593000687731397915",
"119557172079863362656565264318325811670"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@73dce3c1d48c4662bdf3ccbde1492c2cb4bfd8ce",
"target": {
"file": "sound/soc/soc-ops.c"
}
},
{
"id": "CVE-2022-49005-914c2732",
"signature_version": "v1",
"digest": {
"function_hash": "191170845140826237147076525718786087047",
"length": 1076.0
},
"deprecated": false,
"signature_type": "Function",
"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"
}
},
{
"id": "CVE-2022-49005-aa8b63df",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7063021421886112947976438770823103872",
"165515669346188532925099373556916644694",
"21990202387758273653593000687731397915",
"119557172079863362656565264318325811670"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98b15c706644bebc19d2e77ccc360cc51444f6d0",
"target": {
"file": "sound/soc/soc-ops.c"
}
},
{
"id": "CVE-2022-49005-bb7ef430",
"signature_version": "v1",
"digest": {
"function_hash": "268255181997843111796336060136449679551",
"length": 963.0
},
"deprecated": false,
"signature_type": "Function",
"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"
}
},
{
"id": "CVE-2022-49005-fa28d3a7",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"7063021421886112947976438770823103872",
"165515669346188532925099373556916644694",
"197104875672734148341839213112192071528",
"166860102377205055959286027526101371530"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@698813ba8c580efb356ace8dbf55f61dac6063a8",
"target": {
"file": "sound/soc/soc-ops.c"
}
}
]