CVE-2022-48709Published May 21, 2024 · May 21Updated Oct 28
ice: switch: fix potential memleak in ice_add_adv_recipe()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ice: switch: fix potential memleak in ice_add_adv_recipe()
When ice_add_special_words() fails, the 'rm' is not released, which will lead to a memory leak. Fix this up by going to 'err_unroll' label.
Compile tested only.
From the CVE record · Linux
The Linux kernel's ice driver can leak memory in ice_add_adv_recipe() if ice_add_special_words() fails. The input does not specify how an attacker could trigger the failure or whether access or user interaction is required.
Engineers running Linux kernels with the ice driver should check whether their kernel is affected; affected versions were not provided.