In the Linux kernel, the following vulnerability has been resolved:
ASoC: codecs: va-macro: fix accessing array out of bounds for enum type
Accessing enums using integer would result in array out of bounds access on platforms like aarch64 where sizeof(long) is 8 compared to enum size which is 4 bytes.
[
{
"id": "CVE-2022-49251-00975c01",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "va_macro_dec_mode_put",
"file": "sound/soc/codecs/lpass-va-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c0099bbf8bc85d30c4cf38220fca3c8d4253fa7f",
"digest": {
"length": 299.0,
"function_hash": "32002825483043556991894944102630004613"
},
"deprecated": false
},
{
"id": "CVE-2022-49251-11723384",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "va_macro_dec_mode_get",
"file": "sound/soc/codecs/lpass-va-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a799972a283ab4ec031041304d7e2d34e1a16eb",
"digest": {
"length": 285.0,
"function_hash": "105362135493705638203043896550649183366"
},
"deprecated": false
},
{
"id": "CVE-2022-49251-1dcdc9ce",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "va_macro_dec_mode_get",
"file": "sound/soc/codecs/lpass-va-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ea5eff7c6063a8f124188424f8e4c6727f35051",
"digest": {
"length": 285.0,
"function_hash": "105362135493705638203043896550649183366"
},
"deprecated": false
},
{
"id": "CVE-2022-49251-1e9471da",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "va_macro_dec_mode_get",
"file": "sound/soc/codecs/lpass-va-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c0099bbf8bc85d30c4cf38220fca3c8d4253fa7f",
"digest": {
"length": 285.0,
"function_hash": "105362135493705638203043896550649183366"
},
"deprecated": false
},
{
"id": "CVE-2022-49251-808ffe84",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "va_macro_dec_mode_put",
"file": "sound/soc/codecs/lpass-va-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ea5eff7c6063a8f124188424f8e4c6727f35051",
"digest": {
"length": 299.0,
"function_hash": "32002825483043556991894944102630004613"
},
"deprecated": false
},
{
"id": "CVE-2022-49251-886fc0ff",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "sound/soc/codecs/lpass-va-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c0099bbf8bc85d30c4cf38220fca3c8d4253fa7f",
"digest": {
"line_hashes": [
"256450797273327066955635997867489103611",
"325103228509568349448818350861465538067",
"34539727049006205660538826158212851473",
"335404986991163114828754273633984867503",
"199836211010607633919114459108074431438",
"317443650529376170446551511227411989734",
"72105163801344287295761281027035176318",
"256039788105560110944980999089345514866"
],
"threshold": 0.9
},
"deprecated": false
},
{
"id": "CVE-2022-49251-9f19e2bd",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "va_macro_dec_mode_get",
"file": "sound/soc/codecs/lpass-va-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@966408e37d84b762d11978b7bfb03fff0c6222ad",
"digest": {
"length": 285.0,
"function_hash": "105362135493705638203043896550649183366"
},
"deprecated": false
},
{
"id": "CVE-2022-49251-b45d2056",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "sound/soc/codecs/lpass-va-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@966408e37d84b762d11978b7bfb03fff0c6222ad",
"digest": {
"line_hashes": [
"256450797273327066955635997867489103611",
"325103228509568349448818350861465538067",
"34539727049006205660538826158212851473",
"335404986991163114828754273633984867503",
"199836211010607633919114459108074431438",
"317443650529376170446551511227411989734",
"72105163801344287295761281027035176318",
"256039788105560110944980999089345514866"
],
"threshold": 0.9
},
"deprecated": false
},
{
"id": "CVE-2022-49251-ba850b47",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "sound/soc/codecs/lpass-va-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ea5eff7c6063a8f124188424f8e4c6727f35051",
"digest": {
"line_hashes": [
"256450797273327066955635997867489103611",
"325103228509568349448818350861465538067",
"34539727049006205660538826158212851473",
"335404986991163114828754273633984867503",
"199836211010607633919114459108074431438",
"317443650529376170446551511227411989734",
"72105163801344287295761281027035176318",
"256039788105560110944980999089345514866"
],
"threshold": 0.9
},
"deprecated": false
},
{
"id": "CVE-2022-49251-d8fbbf4c",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "va_macro_dec_mode_put",
"file": "sound/soc/codecs/lpass-va-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a799972a283ab4ec031041304d7e2d34e1a16eb",
"digest": {
"length": 299.0,
"function_hash": "32002825483043556991894944102630004613"
},
"deprecated": false
},
{
"id": "CVE-2022-49251-dfe49f6b",
"signature_type": "Function",
"signature_version": "v1",
"target": {
"function": "va_macro_dec_mode_put",
"file": "sound/soc/codecs/lpass-va-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@966408e37d84b762d11978b7bfb03fff0c6222ad",
"digest": {
"length": 299.0,
"function_hash": "32002825483043556991894944102630004613"
},
"deprecated": false
},
{
"id": "CVE-2022-49251-eaeed724",
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "sound/soc/codecs/lpass-va-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a799972a283ab4ec031041304d7e2d34e1a16eb",
"digest": {
"line_hashes": [
"256450797273327066955635997867489103611",
"325103228509568349448818350861465538067",
"34539727049006205660538826158212851473",
"335404986991163114828754273633984867503",
"199836211010607633919114459108074431438",
"317443650529376170446551511227411989734",
"72105163801344287295761281027035176318",
"256039788105560110944980999089345514866"
],
"threshold": 0.9
},
"deprecated": false
}
]