---
id: CVE-2023-53058
title: 'net/mlx5: E-Switch, Fix an Oops in error handling code'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  net/mlx5: E-Switch, Fix an Oops in error handling code

  The error handling dereferences "vport".  There is nothing we can do if
  it is an error pointer except returning …
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 133dcfc577eaec6538db4ebd8b9205b361f59018 <
    5eadc80328298ef7beaaf0cd96791667d3b485ca
  - >-
    Linux >= 133dcfc577eaec6538db4ebd8b9205b361f59018 <
    388188fb58bef9e7f3ca4f8970f03d493b66909f
  - >-
    Linux >= 133dcfc577eaec6538db4ebd8b9205b361f59018 <
    c4c977935b2fc60084b3735737d17a06e7ba1bd0
  - >-
    Linux >= 133dcfc577eaec6538db4ebd8b9205b361f59018 <
    1a9853a7437a22fd849347008fb3c85087906b56
  - >-
    Linux >= 133dcfc577eaec6538db4ebd8b9205b361f59018 <
    640fcdbcf27fc62de9223f958ceb4e897a00e791
  - Linux 5.8
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:15:50.864327Z'
published: '2025-05-02'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:20:57.472Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-53058'
references:
  - url: 'https://git.kernel.org/stable/c/5eadc80328298ef7beaaf0cd96791667d3b485ca'
  - url: 'https://git.kernel.org/stable/c/388188fb58bef9e7f3ca4f8970f03d493b66909f'
  - url: 'https://git.kernel.org/stable/c/c4c977935b2fc60084b3735737d17a06e7ba1bd0'
  - url: 'https://git.kernel.org/stable/c/1a9853a7437a22fd849347008fb3c85087906b56'
  - url: 'https://git.kernel.org/stable/c/640fcdbcf27fc62de9223f958ceb4e897a00e791'
tags:
  - cve.org
epss: 0.00215
epssPercentile: 0.11977
ingestedAt: '2026-11-05T22:38:31.760Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: E-Switch, Fix an Oops in error handling code

The error handling dereferences "vport".  There is nothing we can do if
it is an error pointer except returning the error code.

## Affected

- `Linux >= 133dcfc577eaec6538db4ebd8b9205b361f59018 < 5eadc80328298ef7beaaf0cd96791667d3b485ca`
- `Linux >= 133dcfc577eaec6538db4ebd8b9205b361f59018 < 388188fb58bef9e7f3ca4f8970f03d493b66909f`
- `Linux >= 133dcfc577eaec6538db4ebd8b9205b361f59018 < c4c977935b2fc60084b3735737d17a06e7ba1bd0`
- `Linux >= 133dcfc577eaec6538db4ebd8b9205b361f59018 < 1a9853a7437a22fd849347008fb3c85087906b56`
- `Linux >= 133dcfc577eaec6538db4ebd8b9205b361f59018 < 640fcdbcf27fc62de9223f958ceb4e897a00e791`
- `Linux 5.8`

## Remediation

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