CVE-2025-21975

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21975
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21975.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21975
Downstream
Related
Published
2025-04-01T15:47:06.590Z
Modified
2025-11-28T02:34:27.932546Z
Summary
net/mlx5: handle errors in mlx5_chains_create_table()
Details

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

net/mlx5: handle errors in mlx5chainscreate_table()

In mlx5chainscreatetable(), the return value of mlx5getfdbsubns() and mlx5getflownamespace() must be checked to prevent NULL pointer dereferences. If either function fails, the function should log error message with mlx5corewarn() and return error pointer.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21975.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
39ac237ce00968545e7298faa9e07ecb7e440fb5
Fixed
15bdd93728369b2c8942a8e5d549d4b5dc04a2d9
Fixed
29c419c64e9b396baeda1d8713d2aa3ba7c0acf6
Fixed
1598307c914ba3d2642a2b03d1ff11efbdb7c6c2
Fixed
637105ef0d46fe5beac15aceb431da3ec832bb00
Fixed
1d34296409a519b4027750e3e82d9e19553a7398
Fixed
093b4aaec97ec048623e3fe1e516fc45a954d412
Fixed
eab0396353be1c778eba1c0b5180176f04dd21ce

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.6.0
Fixed
5.10.236
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.180
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.132
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.84
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.20
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.13.8