In the Linux kernel, the following vulnerability has been resolved:
mlxsw: minimal: fix potential memory leak in mlxswmlinecards_init
The line cards array is not freed in the error path of mlxswmlinecardsinit(), which can lead to a memory leak. Fix by freeing the array in the error path, thereby making the error path identical to mlxswmlinecardsfini().
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53195.json",
"cna_assigner": "Linux"
}[
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"144406428358639008965468586861550086074",
"41629507149154601102082251281878153597",
"279404509377796608995317037807840505583",
"117005618952100182715461874176283230941"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08fc75735fda3be97194bfbf3c899c87abb3d0fe",
"id": "CVE-2023-53195-13638e83",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/ethernet/mellanox/mlxsw/minimal.c"
}
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"144406428358639008965468586861550086074",
"41629507149154601102082251281878153597",
"279404509377796608995317037807840505583",
"117005618952100182715461874176283230941"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cd716022c968bc6748f23708b986f845b45791b7",
"id": "CVE-2023-53195-65c60e24",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/ethernet/mellanox/mlxsw/minimal.c"
}
},
{
"signature_type": "Function",
"digest": {
"function_hash": "58242301298050939850332804205458928553",
"length": 1378.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08fc75735fda3be97194bfbf3c899c87abb3d0fe",
"id": "CVE-2023-53195-7b2b9ed3",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/ethernet/mellanox/mlxsw/minimal.c",
"function": "mlxsw_m_linecards_init"
}
},
{
"signature_type": "Function",
"digest": {
"function_hash": "58242301298050939850332804205458928553",
"length": 1378.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cd716022c968bc6748f23708b986f845b45791b7",
"id": "CVE-2023-53195-8f31a288",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/ethernet/mellanox/mlxsw/minimal.c",
"function": "mlxsw_m_linecards_init"
}
},
{
"signature_type": "Function",
"digest": {
"function_hash": "58242301298050939850332804205458928553",
"length": 1378.0
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d4f5b1dd816dccd4ee6bb60b2a81a3d4373636a9",
"id": "CVE-2023-53195-b41b5f4f",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/ethernet/mellanox/mlxsw/minimal.c",
"function": "mlxsw_m_linecards_init"
}
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"144406428358639008965468586861550086074",
"41629507149154601102082251281878153597",
"279404509377796608995317037807840505583",
"117005618952100182715461874176283230941"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d4f5b1dd816dccd4ee6bb60b2a81a3d4373636a9",
"id": "CVE-2023-53195-ee12473b",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/ethernet/mellanox/mlxsw/minimal.c"
}
}
]