octeontx2-af: Validate NIX maximum LFs correctly
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-af: Validate NIX maximum LFs correctly
NIX maximum number of LFs can be set via devlink command but that can be done before assigning any LFs to a PF/VF. The condition used to check whether any LFs are assigned is incorrect. This patch fixes that condition.
From the CVE record · Linux
The Linux kernel's octeontx2-af component incorrectly checks whether LFs are assigned when the NIX maximum LF count is set through a devlink command. This can allow the limit to be set without the intended validation before any LFs are assigned to a PF/VF. The input does not specify the resulting impact, required privileges, or whether user interaction is needed.
Engineers running Linux kernels with the octeontx2-af component should check their installations; affected versions are not specified.