CVE-2025-21975
net/mlx5: handle errors in mlx5_chains_create_table()
Check your servers for CVE-2025-21975
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-21975 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 39ac237ce00968545e7298faa9e07ecb7e440fb5, before 15bdd93728369b2c8942a8e5d549d4b5dc04a2d9 affected from 39ac237ce00968545e7298faa9e07ecb7e440fb5, before 29c419c64e9b396baeda1d8713d2aa3ba7c0acf6 affected from 39ac237ce00968545e7298faa9e07ecb7e440fb5, before 1598307c914ba3d2642a2b03d1ff11efbdb7c6c2 affected from 39ac237ce00968545e7298faa9e07ecb7e440fb5, before 637105ef0d46fe5beac15aceb431da3ec832bb00 affected from 39ac237ce00968545e7298faa9e07ecb7e440fb5, before 1d34296409a519b4027750e3e82d9e19553a7398 affected from 39ac237ce00968545e7298faa9e07ecb7e440fb5, before 093b4aaec97ec048623e3fe1e516fc45a954d412 affected from 39ac237ce00968545e7298faa9e07ecb7e440fb5, before eab0396353be1c778eba1c0b5180176f04dd21ce
Other versions: unaffected
|
| Linux |
affected 5.6 unaffected before 5.6 unaffected from 5.10.236 up to and including 5.10.* unaffected from 5.15.180 up to and including 5.15.* unaffected from 6.1.132 up to and including 6.1.* unaffected from 6.6.84 up to and including 6.6.* unaffected from 6.12.20 up to and including 6.12.* unaffected from 6.13.8 up to and including 6.13.* unaffected 6.14 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-21975 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-21975
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-21975
trivy image --scanners vuln IMAGE | grep CVE-2025-21975
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/15bdd93728369b2c8942a8e5d549d4b5dc04a2d9 git.kernel.org
- https://git.kernel.org/stable/c/29c419c64e9b396baeda1d8713d2aa3ba7c0acf6 git.kernel.org
- https://git.kernel.org/stable/c/1598307c914ba3d2642a2b03d1ff11efbdb7c6c2 git.kernel.org
- https://git.kernel.org/stable/c/637105ef0d46fe5beac15aceb431da3ec832bb00 git.kernel.org
- https://git.kernel.org/stable/c/1d34296409a519b4027750e3e82d9e19553a7398 git.kernel.org
- https://git.kernel.org/stable/c/093b4aaec97ec048623e3fe1e516fc45a954d412 git.kernel.org
- https://git.kernel.org/stable/c/eab0396353be1c778eba1c0b5180176f04dd21ce git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org
Source: the record CVE-2025-21975 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse