In the Linux kernel, the following vulnerability has been resolved:
ASoC: codecs: rx-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.
[
{
"signature_version": "v1",
"digest": {
"length": 1107.0,
"function_hash": "294035516121372288954787378705683072500"
},
"signature_type": "Function",
"id": "CVE-2022-49252-39b50edc",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_mux_put"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e3629e256d1cabf801d00050550ade4d036cafe",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 201.0,
"function_hash": "147594374870808650987736590199651287032"
},
"signature_type": "Function",
"id": "CVE-2022-49252-402e1301",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_put_hph_pwr_mode"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e3629e256d1cabf801d00050550ade4d036cafe",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 260.0,
"function_hash": "288536281368125793480701433883276852329"
},
"signature_type": "Function",
"id": "CVE-2022-49252-46ecf031",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_mux_get"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aed43e92e4b9187029903880d5db608f7fa1c53c",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"310339237615984308860243578126806144161",
"107599390818231534200107372005500769947",
"289798831634908812008300334718961724279",
"204696508868882206511433154984393426016",
"100168590700847413244081410383845935389",
"223186700072763354487082448091426898955",
"331908733748307934500779415284907512109",
"110814114839696074185615160872901509597",
"310728800625944529010101830667474926758",
"175155450075766123263230020049127401344",
"321856854675296580169690841950857465273",
"306790310759699479631265781936189799432",
"277780984971475062785015059479568969750",
"40703198618548428256144981512943257345",
"322774568898150308034932775022778647517",
"249275216982133560858348751538951780021"
]
},
"signature_type": "Line",
"id": "CVE-2022-49252-4a8e2d9a",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aed43e92e4b9187029903880d5db608f7fa1c53c",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 1107.0,
"function_hash": "294035516121372288954787378705683072500"
},
"signature_type": "Function",
"id": "CVE-2022-49252-5917e55a",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_mux_put"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb15c6ea692fd88d70698d874d9a0d667fb4cde9",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 201.0,
"function_hash": "106268450104018711788023726919770277003"
},
"signature_type": "Function",
"id": "CVE-2022-49252-611e6338",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_get_hph_pwr_mode"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e3629e256d1cabf801d00050550ade4d036cafe",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 260.0,
"function_hash": "288536281368125793480701433883276852329"
},
"signature_type": "Function",
"id": "CVE-2022-49252-6f2ce3da",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_mux_get"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 201.0,
"function_hash": "147594374870808650987736590199651287032"
},
"signature_type": "Function",
"id": "CVE-2022-49252-77b4fd17",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_put_hph_pwr_mode"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb15c6ea692fd88d70698d874d9a0d667fb4cde9",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 201.0,
"function_hash": "106268450104018711788023726919770277003"
},
"signature_type": "Function",
"id": "CVE-2022-49252-787bc77f",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_get_hph_pwr_mode"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb15c6ea692fd88d70698d874d9a0d667fb4cde9",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"310339237615984308860243578126806144161",
"107599390818231534200107372005500769947",
"289798831634908812008300334718961724279",
"204696508868882206511433154984393426016",
"100168590700847413244081410383845935389",
"223186700072763354487082448091426898955",
"331908733748307934500779415284907512109",
"110814114839696074185615160872901509597",
"310728800625944529010101830667474926758",
"175155450075766123263230020049127401344",
"321856854675296580169690841950857465273",
"306790310759699479631265781936189799432",
"277780984971475062785015059479568969750",
"40703198618548428256144981512943257345",
"322774568898150308034932775022778647517",
"249275216982133560858348751538951780021"
]
},
"signature_type": "Line",
"id": "CVE-2022-49252-789fe231",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e3629e256d1cabf801d00050550ade4d036cafe",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 1107.0,
"function_hash": "294035516121372288954787378705683072500"
},
"signature_type": "Function",
"id": "CVE-2022-49252-7b339aae",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_mux_put"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"310339237615984308860243578126806144161",
"107599390818231534200107372005500769947",
"289798831634908812008300334718961724279",
"204696508868882206511433154984393426016",
"100168590700847413244081410383845935389",
"223186700072763354487082448091426898955",
"331908733748307934500779415284907512109",
"110814114839696074185615160872901509597",
"310728800625944529010101830667474926758",
"175155450075766123263230020049127401344",
"321856854675296580169690841950857465273",
"306790310759699479631265781936189799432",
"277780984971475062785015059479568969750",
"40703198618548428256144981512943257345",
"322774568898150308034932775022778647517",
"249275216982133560858348751538951780021"
]
},
"signature_type": "Line",
"id": "CVE-2022-49252-91d319f0",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 201.0,
"function_hash": "106268450104018711788023726919770277003"
},
"signature_type": "Function",
"id": "CVE-2022-49252-a1e67995",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_get_hph_pwr_mode"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aed43e92e4b9187029903880d5db608f7fa1c53c",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 260.0,
"function_hash": "288536281368125793480701433883276852329"
},
"signature_type": "Function",
"id": "CVE-2022-49252-a2ab8868",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_mux_get"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb15c6ea692fd88d70698d874d9a0d667fb4cde9",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 1107.0,
"function_hash": "294035516121372288954787378705683072500"
},
"signature_type": "Function",
"id": "CVE-2022-49252-b8081187",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_mux_put"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aed43e92e4b9187029903880d5db608f7fa1c53c",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"310339237615984308860243578126806144161",
"107599390818231534200107372005500769947",
"289798831634908812008300334718961724279",
"204696508868882206511433154984393426016",
"100168590700847413244081410383845935389",
"223186700072763354487082448091426898955",
"331908733748307934500779415284907512109",
"110814114839696074185615160872901509597",
"310728800625944529010101830667474926758",
"175155450075766123263230020049127401344",
"321856854675296580169690841950857465273",
"306790310759699479631265781936189799432",
"277780984971475062785015059479568969750",
"40703198618548428256144981512943257345",
"322774568898150308034932775022778647517",
"249275216982133560858348751538951780021"
]
},
"signature_type": "Line",
"id": "CVE-2022-49252-b98dc106",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eb15c6ea692fd88d70698d874d9a0d667fb4cde9",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 201.0,
"function_hash": "147594374870808650987736590199651287032"
},
"signature_type": "Function",
"id": "CVE-2022-49252-bc9a3fbf",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_put_hph_pwr_mode"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 201.0,
"function_hash": "147594374870808650987736590199651287032"
},
"signature_type": "Function",
"id": "CVE-2022-49252-c6e576f5",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_put_hph_pwr_mode"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aed43e92e4b9187029903880d5db608f7fa1c53c",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 201.0,
"function_hash": "106268450104018711788023726919770277003"
},
"signature_type": "Function",
"id": "CVE-2022-49252-ce542996",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_get_hph_pwr_mode"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bcfe5f76cc4051ea3f9eb5d2c8ea621641f290a5",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 260.0,
"function_hash": "288536281368125793480701433883276852329"
},
"signature_type": "Function",
"id": "CVE-2022-49252-ea56b066",
"target": {
"file": "sound/soc/codecs/lpass-rx-macro.c",
"function": "rx_macro_mux_get"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e3629e256d1cabf801d00050550ade4d036cafe",
"deprecated": false
}
]