Executive Summary

Informations
Name CVE-2025-21751 First vendor Publication 2025-02-27
Vendor Cve Last vendor Modification 2025-03-24

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector :
Cvss Base Score N/A Attack Range N/A
Cvss Impact Score N/A Attack Complexity N/A
Cvss Expoit Score N/A Authentication N/A
Calculate full CVSS 2.0 Vectors scores

Detail

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

net/mlx5: HWS, change error flow on matcher disconnect

Currently, when firmware failure occurs during matcher disconnect flow, the error flow of the function reconnects the matcher back and returns an error, which continues running the calling function and eventually frees the matcher that is being disconnected. This leads to a case where we have a freed matcher on the matchers list, which in turn leads to use-after-free and eventual crash.

This patch fixes that by not trying to reconnect the matcher back when some FW command fails during disconnect.

Note that we're dealing here with FW error. We can't overcome this problem. This might lead to bad steering state (e.g. wrong connection between matchers), and will also lead to resource leakage, as it is the case with any other error handling during resource destruction.

However, the goal here is to allow the driver to continue and not crash the machine with use-after-free error.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-21751

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 8
Os 3711

Sources (Detail)

https://git.kernel.org/stable/c/1ce840c7a659aa53a31ef49f0271b4fd0dc10296
https://git.kernel.org/stable/c/23a86c76a1a197e8fbbbd0ce3e826eb58c471624
Source Url

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
10
11
12
Date Informations
2025-06-26 02:40:56
  • Multiple Updates
2025-06-25 12:37:59
  • Multiple Updates
2025-06-24 02:45:23
  • Multiple Updates
2025-05-27 02:52:24
  • Multiple Updates
2025-03-28 17:20:54
  • Multiple Updates
2025-03-28 13:48:59
  • Multiple Updates
2025-03-28 03:24:18
  • Multiple Updates
2025-03-25 03:30:35
  • Multiple Updates
2025-03-25 00:20:43
  • Multiple Updates
2025-02-28 03:46:08
  • Multiple Updates
2025-02-28 03:46:04
  • Multiple Updates
2025-02-28 00:20:33
  • Multiple Updates
2025-02-27 09:20:31
  • First insertion