octeontx2-pf: Fix SQE threshold checking
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:
octeontx2-pf: Fix SQE threshold checking
Current way of checking available SQE count which is based on HW updated SQB count could result in driver submitting an SQE even before CQE for the previously transmitted SQE at the same index is processed in NAPI resulting losing SKB pointers, hence a leak. Fix this by checking a consumer index which is updated once CQE is processed.
From the CVE record · Linux
The Linux kernel's octeontx2-pf driver can lose SKB pointers and leak memory when it submits a transmit entry before processing the completion for an earlier entry at the same index. The input does not specify how an attacker could trigger this, whether authentication or user interaction is needed, or whether access is local or over a network.
Engineers running Linux kernels with the octeontx2-pf driver should check whether their kernel includes the fix; affected versions are not specified.