# CVE-2022-50060: octeontx2-af: Fix mcam entry resource leak

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-06-18T11:02:08.585Z
- Modified: 2026-11-05T20:17:21.833Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 5.0 before 5.15.63; from 5.16 before 5.19.4

## References

- <https://git.kernel.org/stable/c/dc5be2d4f9285efe0d16f1bf00250df91d05d809> (patch)
- <https://git.kernel.org/stable/c/cc32347f48111eea8d0165538c92aca92ede83f6> (patch)
- <https://git.kernel.org/stable/c/3f8fe40ab7730cf8eb6f8b8ff412012f7f6f8f48> (patch)

## Sources

- CVE List: [CVE-2022-50060](https://www.cve.org/CVERecord?id=CVE-2022-50060), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2022-50060](https://nvd.nist.gov/vuln/detail/CVE-2022-50060), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2022-50060 · Whole record: https://cve.day/CVE-2022-50060.json · Rebuilt by cve.day 2026-11-25T22:58:21.033Z
