In the Linux kernel, the following vulnerability has been resolved:
i2c: mlxbf: prevent stack overflow in mlxbfi2csmbusstarttransaction()
memcpy() is called in a loop while 'operation->length' upper bound is not checked and 'data_idx' also increments.
[
{
"id": "CVE-2022-48632-0d5d8aac",
"digest": {
"function_hash": "32879370691689719870367124564251603211",
"length": 1624.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dc2a0c587006f29b724069740c48654b9dcaebd2",
"target": {
"function": "mlxbf_i2c_smbus_start_transaction",
"file": "drivers/i2c/busses/i2c-mlxbf.c"
},
"signature_version": "v1"
},
{
"id": "CVE-2022-48632-221b3da6",
"digest": {
"threshold": 0.9,
"line_hashes": [
"10147436627106233259792993495077799527",
"13636684118435160583949204364119163123",
"175930433789607676067716669827885717141",
"121301047104490388983800219655268542600"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dc2a0c587006f29b724069740c48654b9dcaebd2",
"target": {
"file": "drivers/i2c/busses/i2c-mlxbf.c"
},
"signature_version": "v1"
},
{
"id": "CVE-2022-48632-7cc3df95",
"digest": {
"function_hash": "32879370691689719870367124564251603211",
"length": 1624.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@48ee0a864d1af02eea98fc825cc230d61517a71e",
"target": {
"function": "mlxbf_i2c_smbus_start_transaction",
"file": "drivers/i2c/busses/i2c-mlxbf.c"
},
"signature_version": "v1"
},
{
"id": "CVE-2022-48632-835bedae",
"digest": {
"function_hash": "32879370691689719870367124564251603211",
"length": 1624.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@de24aceb07d426b6f1c59f33889d6a964770547b",
"target": {
"function": "mlxbf_i2c_smbus_start_transaction",
"file": "drivers/i2c/busses/i2c-mlxbf.c"
},
"signature_version": "v1"
},
{
"id": "CVE-2022-48632-886970ae",
"digest": {
"threshold": 0.9,
"line_hashes": [
"10147436627106233259792993495077799527",
"13636684118435160583949204364119163123",
"175930433789607676067716669827885717141",
"121301047104490388983800219655268542600"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@48ee0a864d1af02eea98fc825cc230d61517a71e",
"target": {
"file": "drivers/i2c/busses/i2c-mlxbf.c"
},
"signature_version": "v1"
},
{
"id": "CVE-2022-48632-e1eba765",
"digest": {
"threshold": 0.9,
"line_hashes": [
"10147436627106233259792993495077799527",
"13636684118435160583949204364119163123",
"175930433789607676067716669827885717141",
"121301047104490388983800219655268542600"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b5ab5fbe69ebbee5692c72b05071a43fc0655d8",
"target": {
"file": "drivers/i2c/busses/i2c-mlxbf.c"
},
"signature_version": "v1"
},
{
"id": "CVE-2022-48632-f41a0cb7",
"digest": {
"threshold": 0.9,
"line_hashes": [
"10147436627106233259792993495077799527",
"13636684118435160583949204364119163123",
"175930433789607676067716669827885717141",
"121301047104490388983800219655268542600"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@de24aceb07d426b6f1c59f33889d6a964770547b",
"target": {
"file": "drivers/i2c/busses/i2c-mlxbf.c"
},
"signature_version": "v1"
},
{
"id": "CVE-2022-48632-fb771df8",
"digest": {
"function_hash": "32879370691689719870367124564251603211",
"length": 1624.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b5ab5fbe69ebbee5692c72b05071a43fc0655d8",
"target": {
"function": "mlxbf_i2c_smbus_start_transaction",
"file": "drivers/i2c/busses/i2c-mlxbf.c"
},
"signature_version": "v1"
}
]