iavf: Fix handling of dummy receive descriptors
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
2a51e334a0ade539e5b0fcfdbd8b43acb9c7547d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iavf: Fix handling of dummy receive descriptors
Fix memory leak caused by not handling dummy receive descriptor properly. iavf_get_rx_buffer now sets the rx_buffer return value for dummy receive descriptors. Without this patch, when the hardware writes a dummy descriptor, iavf would not free the page allocated for the previous receive buffer. This is an unlikely event but can still happen.
[Jesse: massaged commit message]
From the CVE record · Linux
The Linux kernel's iavf driver can leak a page when hardware writes a dummy receive descriptor, because the driver does not free the page allocated for the previous receive buffer. The input describes this as unlikely and does not identify an attacker path, authentication requirement, or user interaction.
Engineers running Linux kernels with the iavf driver should check their versions; affected versions are not specified.