igb: Fix use-after-free error during reset
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7cc6fd4c60f267e17b0baef1580d7a6258c0a6f0 · < 7b292608db23ccbbfbfa50cdb155d01725d7a52e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
igb: Fix use-after-free error during reset
Cleans the next descriptor to watch (next_to_watch) when cleaning the TX ring.
Failure to do so can cause invalid memory accesses. If igb_poll() runs while the controller is reset this can lead to the driver try to free a skb that was already freed.
(The crash is harder to reproduce with the igb driver, but the same potential problem exists as the code is identical to igc)
From the CVE record · Linux
The Linux kernel's igb driver can access freed memory during a controller reset if igb_poll() runs while the controller is being reset. This can cause the driver to try to free an already-freed packet buffer. The input does not specify an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with the igb driver should check whether their kernel is affected; affected versions were not provided.