NULL pointer dereference in Linux
CVE-2025-21975
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 11.5th percentile
- Published
- 2025-04-01
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: handle errors in mlx5_chains_create_table()
In mlx5_chains_create_table(), the return value of mlx5_get_fdb_sub_ns()
and mlx5_get_flow_namespace() must be checked to prevent NULL pointer
dereferences. If either function fails, the function should log error
message with mlx5_core_warn() and return error pointer.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 11.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 39ac237ce00968545e7298faa9e07ecb7e440fb5, 5.6, 0
- Linux Kernel — versions 6.14
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cve-scores, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/15bdd93728369b2c8942a8e5d549d4b5dc04a2d9 (Patch)
- git.kernel.org/stable/c/29c419c64e9b396baeda1d8713d2aa3ba7c0acf6 (Patch)
- git.kernel.org/stable/c/1598307c914ba3d2642a2b03d1ff11efbdb7c6c2 (Patch)
- git.kernel.org/stable/c/637105ef0d46fe5beac15aceb431da3ec832bb00 (Patch)
- git.kernel.org/stable/c/1d34296409a519b4027750e3e82d9e19553a7398 (Patch)
- git.kernel.org/stable/c/093b4aaec97ec048623e3fe1e516fc45a954d412 (Patch)
- git.kernel.org/stable/c/eab0396353be1c778eba1c0b5180176f04dd21ce (Patch)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html