In the Linux kernel, the following vulnerability has been resolved:
dpaa2-switch: Fix memory leak in dpaa2switchaclentryadd() and dpaa2switchaclentryremove()
The cmdbuff needs to be freed when error happened in dpaa2switchaclentryadd() and dpaa2switchaclentry_remove().
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@785ee7a82297e1512d9061aae91699212ed65796",
"id": "CVE-2022-48957-28d65dcc",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"318698185925889597478889960431893889467",
"102147075931969142214084709060469203003",
"32118043814378242934143342748739226929",
"309698479985321563982882174063608946333",
"140698018934514470345140767999882855468",
"204468029523591678304363970727116493278",
"204832662835038066231703866376087294581",
"326493831166115368709200939906344754041",
"318698185925889597478889960431893889467",
"102147075931969142214084709060469203003",
"32118043814378242934143342748739226929",
"292972823147929394790798929387506651566",
"22299825002105548489653080472052270476",
"3479307910860935043804551533653656889",
"290181779014934301628123016321835951953",
"48280473402981684646706716111496893750"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@54d830e24247fa8361b016dd2069362866f45cb6",
"id": "CVE-2022-48957-3816200b",
"deprecated": false,
"target": {
"function": "dpaa2_switch_acl_entry_add",
"file": "drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c"
},
"signature_version": "v1",
"digest": {
"length": 809.0,
"function_hash": "318901598682710182549254379573259546818"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@785ee7a82297e1512d9061aae91699212ed65796",
"id": "CVE-2022-48957-565e7135",
"deprecated": false,
"target": {
"function": "dpaa2_switch_acl_entry_remove",
"file": "drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c"
},
"signature_version": "v1",
"digest": {
"length": 819.0,
"function_hash": "51507965956799792294389390633628063944"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4fad22a1281c500f15b172c9d261eff347ca634b",
"id": "CVE-2022-48957-87dabe75",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"318698185925889597478889960431893889467",
"102147075931969142214084709060469203003",
"32118043814378242934143342748739226929",
"309698479985321563982882174063608946333",
"140698018934514470345140767999882855468",
"204468029523591678304363970727116493278",
"204832662835038066231703866376087294581",
"326493831166115368709200939906344754041",
"318698185925889597478889960431893889467",
"102147075931969142214084709060469203003",
"32118043814378242934143342748739226929",
"292972823147929394790798929387506651566",
"22299825002105548489653080472052270476",
"3479307910860935043804551533653656889",
"290181779014934301628123016321835951953",
"48280473402981684646706716111496893750"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@785ee7a82297e1512d9061aae91699212ed65796",
"id": "CVE-2022-48957-923fbb43",
"deprecated": false,
"target": {
"function": "dpaa2_switch_acl_entry_add",
"file": "drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c"
},
"signature_version": "v1",
"digest": {
"length": 809.0,
"function_hash": "318901598682710182549254379573259546818"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4fad22a1281c500f15b172c9d261eff347ca634b",
"id": "CVE-2022-48957-af724bd3",
"deprecated": false,
"target": {
"function": "dpaa2_switch_acl_entry_add",
"file": "drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c"
},
"signature_version": "v1",
"digest": {
"length": 809.0,
"function_hash": "318901598682710182549254379573259546818"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4fad22a1281c500f15b172c9d261eff347ca634b",
"id": "CVE-2022-48957-c15f6d56",
"deprecated": false,
"target": {
"function": "dpaa2_switch_acl_entry_remove",
"file": "drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c"
},
"signature_version": "v1",
"digest": {
"length": 819.0,
"function_hash": "51507965956799792294389390633628063944"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@54d830e24247fa8361b016dd2069362866f45cb6",
"id": "CVE-2022-48957-c586fa22",
"deprecated": false,
"target": {
"function": "dpaa2_switch_acl_entry_remove",
"file": "drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c"
},
"signature_version": "v1",
"digest": {
"length": 819.0,
"function_hash": "51507965956799792294389390633628063944"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@54d830e24247fa8361b016dd2069362866f45cb6",
"id": "CVE-2022-48957-edb41afe",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"318698185925889597478889960431893889467",
"102147075931969142214084709060469203003",
"32118043814378242934143342748739226929",
"309698479985321563982882174063608946333",
"140698018934514470345140767999882855468",
"204468029523591678304363970727116493278",
"204832662835038066231703866376087294581",
"326493831166115368709200939906344754041",
"318698185925889597478889960431893889467",
"102147075931969142214084709060469203003",
"32118043814378242934143342748739226929",
"292972823147929394790798929387506651566",
"22299825002105548489653080472052270476",
"3479307910860935043804551533653656889",
"290181779014934301628123016321835951953",
"48280473402981684646706716111496893750"
]
},
"signature_type": "Line"
}
]