In the Linux kernel, the following vulnerability has been resolved:
ice: switch: fix potential memleak in iceaddadv_recipe()
When iceaddspecialwords() fails, the 'rm' is not released, which will lead to a memory leak. Fix this up by going to 'errunroll' label.
Compile tested only.
[
{
"id": "CVE-2022-48709-4fab080c",
"signature_type": "Line",
"digest": {
"line_hashes": [
"160855712489733279448931469481701002112",
"309781341512227939931013987691576631635",
"262923896920195691706856631056082427455",
"244612807868656453538909356984604403081"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a606ce68426c88ff2563382b33cc34f3485fe57",
"target": {
"file": "drivers/net/ethernet/intel/ice/ice_switch.c"
}
},
{
"id": "CVE-2022-48709-554ac0bf",
"signature_type": "Function",
"digest": {
"length": 3047.0,
"function_hash": "252950430949350815926073128829067278229"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a606ce68426c88ff2563382b33cc34f3485fe57",
"target": {
"function": "ice_add_adv_recipe",
"file": "drivers/net/ethernet/intel/ice/ice_switch.c"
}
},
{
"id": "CVE-2022-48709-87b90518",
"signature_type": "Function",
"digest": {
"length": 3047.0,
"function_hash": "252950430949350815926073128829067278229"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47f4ff6f23f00f5501ff2d7054c1a37c170a7aa0",
"target": {
"function": "ice_add_adv_recipe",
"file": "drivers/net/ethernet/intel/ice/ice_switch.c"
}
},
{
"id": "CVE-2022-48709-d0360327",
"signature_type": "Line",
"digest": {
"line_hashes": [
"160855712489733279448931469481701002112",
"309781341512227939931013987691576631635",
"262923896920195691706856631056082427455",
"244612807868656453538909356984604403081"
],
"threshold": 0.9
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47f4ff6f23f00f5501ff2d7054c1a37c170a7aa0",
"target": {
"file": "drivers/net/ethernet/intel/ice/ice_switch.c"
}
}
]