igb: Fix NULL pointer dereference in ethtool loopback test
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:
igb: Fix NULL pointer dereference in ethtool loopback test
The igb driver currently causes a NULL pointer dereference when executing the ethtool loopback test. This occurs because there is no associated q_vector for the test ring when it is set up, as interrupts are typically not added to the test rings.
Since commit 5ef44b3cb43b removed the napi_id assignment in __xdp_rxq_info_reg(), there is no longer a need to pass a napi_id to it. Therefore, simply use 0 as the last parameter.
From the CVE record · Linux
The Linux kernel’s igb driver can dereference a NULL pointer during an ethtool loopback test because the test ring has no associated q_vector. The issue occurs when that test is run; the input does not specify authentication requirements or a network attack path.
Engineers running Linux kernels with the igb driver should check whether their kernel includes the fix; affected versions are not specified.