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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49251.json",
"cna_assigner": "Linux"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49251.json"
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "105362135493705638203043896550649183366",
"length": 285.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a799972a283ab4ec031041304d7e2d34e1a16eb",
"signature_type": "Function",
"id": "CVE-2022-49251-11723384",
"target": {
"file": "sound/soc/codecs/lpass-va-macro.c",
"function": "va_macro_dec_mode_get"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "105362135493705638203043896550649183366",
"length": 285.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ea5eff7c6063a8f124188424f8e4c6727f35051",
"signature_type": "Function",
"id": "CVE-2022-49251-1dcdc9ce",
"target": {
"file": "sound/soc/codecs/lpass-va-macro.c",
"function": "va_macro_dec_mode_get"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "32002825483043556991894944102630004613",
"length": 299.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ea5eff7c6063a8f124188424f8e4c6727f35051",
"signature_type": "Function",
"id": "CVE-2022-49251-808ffe84",
"target": {
"file": "sound/soc/codecs/lpass-va-macro.c",
"function": "va_macro_dec_mode_put"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"256450797273327066955635997867489103611",
"325103228509568349448818350861465538067",
"34539727049006205660538826158212851473",
"335404986991163114828754273633984867503",
"199836211010607633919114459108074431438",
"317443650529376170446551511227411989734",
"72105163801344287295761281027035176318",
"256039788105560110944980999089345514866"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0ea5eff7c6063a8f124188424f8e4c6727f35051",
"signature_type": "Line",
"id": "CVE-2022-49251-ba850b47",
"target": {
"file": "sound/soc/codecs/lpass-va-macro.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "32002825483043556991894944102630004613",
"length": 299.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a799972a283ab4ec031041304d7e2d34e1a16eb",
"signature_type": "Function",
"id": "CVE-2022-49251-d8fbbf4c",
"target": {
"file": "sound/soc/codecs/lpass-va-macro.c",
"function": "va_macro_dec_mode_put"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"256450797273327066955635997867489103611",
"325103228509568349448818350861465538067",
"34539727049006205660538826158212851473",
"335404986991163114828754273633984867503",
"199836211010607633919114459108074431438",
"317443650529376170446551511227411989734",
"72105163801344287295761281027035176318",
"256039788105560110944980999089345514866"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a799972a283ab4ec031041304d7e2d34e1a16eb",
"signature_type": "Line",
"id": "CVE-2022-49251-eaeed724",
"target": {
"file": "sound/soc/codecs/lpass-va-macro.c"
}
}
]