5.5medium
octeontx2-af: Fix mcam entry resource leak
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c554f9c1574e022821260b24b043a4277e8ec5d8 before dc5be2d4f9285efe0d16f1bf00250df91d05d809, from c554f9c1574e022821260b24b043a4277e8ec5d8 before cc32347f48111eea8d0165538c92aca92ede83f6, from c554f9c1574e022821260b24b043a4277e8ec5d8 before 3f8fe40ab7730cf8eb6f8b8ff412012f7f6f8f48, 5.0 Not affected: before 5.0, from 5.15.63 up to 5.15.*, from 5.19.4 up to 5.19.*, from 6.0 up to * | CVE List |
| linux linux_kernel | from 5.0 before 5.15.63, from 5.16 before 5.19.4 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In 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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: octeontx2-af: Se corrige la fuga de recursos de la entrada mcam. La secuencia de desmontaje del controlador FLR devuelve el mensaje si no hay ningún LF NIX conectado a PF/VF, ya que esto indica que ya se realizó un apagado ordenado de los recursos. Sin embargo, existe la posibilidad de que PF/VF no libere todas las entradas MCAM asignadas. Por lo tanto, las entradas mcam se liberan incluso con un LF desconectado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-50060 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2022-50060 changed 2026-11-05 | Public domain |