# CVE-2023-53058: net/mlx5: E-Switch, Fix an Oops in error handling code

- 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.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-05-02T15:55:12.931Z
- Modified: 2026-11-05T21:17:09.960Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 133dcfc577eaec6538db4ebd8b9205b361f59018 before 5eadc80328298ef7beaaf0cd96791667d3b485ca; from 133dcfc577eaec6538db4ebd8b9205b361f59018 before 388188fb58bef9e7f3ca4f8970f03d493b66909f; from 133dcfc577eaec6538db4ebd8b9205b361f59018 before c4c977935b2fc60084b3735737d17a06e7ba1bd0; from 133dcfc577eaec6538db4ebd8b9205b361f59018 before 1a9853a7437a22fd849347008fb3c85087906b56; from 133dcfc577eaec6538db4ebd8b9205b361f59018 before 640fcdbcf27fc62de9223f958ceb4e897a00e791; 5.8 (not affected: before 5.8; from 5.10.177 up to 5.10.*; from 5.15.105 up to 5.15.*; from 6.1.22 up to 6.1.*; from 6.2.9 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: from 5.8 before 5.10.177; from 5.11 before 5.15.105; from 5.16 before 6.1.22; from 6.2 before 6.2.9; 6.3

## References

- <https://git.kernel.org/stable/c/5eadc80328298ef7beaaf0cd96791667d3b485ca> (patch)
- <https://git.kernel.org/stable/c/388188fb58bef9e7f3ca4f8970f03d493b66909f> (patch)
- <https://git.kernel.org/stable/c/c4c977935b2fc60084b3735737d17a06e7ba1bd0> (patch)
- <https://git.kernel.org/stable/c/1a9853a7437a22fd849347008fb3c85087906b56> (patch)
- <https://git.kernel.org/stable/c/640fcdbcf27fc62de9223f958ceb4e897a00e791> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2023-53058 · Whole record: https://cve.day/CVE-2023-53058.json · Rebuilt by cve.day 2026-11-25T22:58:34.642Z
