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.
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"160855712489733279448931469481701002112",
"309781341512227939931013987691576631635",
"262923896920195691706856631056082427455",
"244612807868656453538909356984604403081"
]
},
"id": "CVE-2022-48709-4fab080c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a606ce68426c88ff2563382b33cc34f3485fe57",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/intel/ice/ice_switch.c"
},
"signature_type": "Line"
},
{
"digest": {
"function_hash": "252950430949350815926073128829067278229",
"length": 3047.0
},
"id": "CVE-2022-48709-554ac0bf",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a606ce68426c88ff2563382b33cc34f3485fe57",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ice_add_adv_recipe",
"file": "drivers/net/ethernet/intel/ice/ice_switch.c"
},
"signature_type": "Function"
},
{
"digest": {
"function_hash": "252950430949350815926073128829067278229",
"length": 3047.0
},
"id": "CVE-2022-48709-87b90518",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47f4ff6f23f00f5501ff2d7054c1a37c170a7aa0",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ice_add_adv_recipe",
"file": "drivers/net/ethernet/intel/ice/ice_switch.c"
},
"signature_type": "Function"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"160855712489733279448931469481701002112",
"309781341512227939931013987691576631635",
"262923896920195691706856631056082427455",
"244612807868656453538909356984604403081"
]
},
"id": "CVE-2022-48709-d0360327",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47f4ff6f23f00f5501ff2d7054c1a37c170a7aa0",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/net/ethernet/intel/ice/ice_switch.c"
},
"signature_type": "Line"
}
]