dpaa2-switch: Fix memory leak in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove()
Linux
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 |
|
|
5.15.836.0.136.1In the Linux kernel, the following vulnerability has been resolved:
dpaa2-switch: Fix memory leak in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove()
The cmd_buff needs to be freed when error happened in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove().
From the CVE record · Linux
The Linux kernel's dpaa2-switch component can leak memory when errors occur in dpaa2_switch_acl_entry_add() or dpaa2_switch_acl_entry_remove(). The input does not specify how an attacker could trigger these errors, whether authentication or user interaction is required, or the potential impact beyond the memory leak.
Engineers running Linux kernels with the dpaa2-switch component should check whether their kernel is affected; affected versions were not provided.