net: sxgbe: free TX rings on RX allocation failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1edb9ca69e8a7988900fc0283e10550b5592164d · < 42b87cfd9666ef156637c90ff3f6f6dd9a5ad4cb| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: sxgbe: free TX rings on RX allocation failure
When RX descriptor ring allocation fails, init_dma_desc_rings() only frees the partially allocated RX rings and returns. The TX rings that were allocated earlier in the same function are leaked.
Rearrange error labels to clean up TX rings upon RX failures.
From the CVE record · Linux
The Linux kernel's sxgbe driver leaks previously allocated TX rings if RX descriptor ring allocation fails. The input does not establish whether an attacker can trigger this failure or specify any network, authentication, or user-interaction conditions.
Teams running Linux kernels with the sxgbe driver should check whether their kernel includes the fix; affected versions were not provided.