octeontx2-af: Fix mcam entry resource leak
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 |
|
|
5.15.635.19.46.0In the Linux kernel, the following vulnerability has been resolved:
octeontx2-af: Fix mcam entry resource leak
The teardown sequence in FLR handler returns if no NIX LF is attached to PF/VF because it indicates that graceful shutdown of resources already happened. But there is a chance of all allocated MCAM entries not being freed by PF/VF. Hence free mcam entries even in case of detached LF.
From the CVE record · Linux
The Linux kernel’s octeontx2-af FLR handler can leave allocated MCAM entries unfreed when a PF/VF has no NIX LF attached. This causes a resource leak during teardown. The input does not specify an attack path, authentication requirements, or user interaction.
Operators running Linux kernels with octeontx2-af should check their versions; affected versions are not specified.