ice: fix wrong fallback logic for FDIR
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ice: fix wrong fallback logic for FDIR
When adding a FDIR filter, if ice_vc_fdir_set_irq_ctx returns failure, the inserted fdir entry will not be removed and if ice_vc_fdir_write_fltr returns failure, the fdir context info for irq handler will not be cleared which may lead to inconsistent or memory leak issue. This patch refines failure cases to resolve this issue.
From the CVE record · Linux
The Linux kernel’s ice driver can leave an FDIR entry or IRQ-handler context uncleared when adding a filter fails, potentially causing inconsistent state or a memory leak. The input does not describe how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel with the ice driver should check their kernel version; affected versions are not specified.