---
id: CVE-2022-50060
title: 'octeontx2-af: Fix mcam entry resource leak'
summary: |-
  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 o…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= c554f9c1574e022821260b24b043a4277e8ec5d8 <
    dc5be2d4f9285efe0d16f1bf00250df91d05d809
  - >-
    Linux >= c554f9c1574e022821260b24b043a4277e8ec5d8 <
    cc32347f48111eea8d0165538c92aca92ede83f6
  - >-
    Linux >= c554f9c1574e022821260b24b043a4277e8ec5d8 <
    3f8fe40ab7730cf8eb6f8b8ff412012f7f6f8f48
  - Linux 5.0
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T19:53:32.788315Z'
published: '2025-06-18'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:00:15.170Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2022-50060'
references:
  - url: 'https://git.kernel.org/stable/c/dc5be2d4f9285efe0d16f1bf00250df91d05d809'
  - url: 'https://git.kernel.org/stable/c/cc32347f48111eea8d0165538c92aca92ede83f6'
  - url: 'https://git.kernel.org/stable/c/3f8fe40ab7730cf8eb6f8b8ff412012f7f6f8f48'
tags:
  - cve.org
epss: 0.00191
epssPercentile: 0.08808
ingestedAt: '2026-11-05T22:38:31.641Z'
---

## Overview

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

- `Linux >= c554f9c1574e022821260b24b043a4277e8ec5d8 < dc5be2d4f9285efe0d16f1bf00250df91d05d809`
- `Linux >= c554f9c1574e022821260b24b043a4277e8ec5d8 < cc32347f48111eea8d0165538c92aca92ede83f6`
- `Linux >= c554f9c1574e022821260b24b043a4277e8ec5d8 < 3f8fe40ab7730cf8eb6f8b8ff412012f7f6f8f48`
- `Linux 5.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
