net/mlx5: handle errors in mlx5_chains_create_table() (Linux Linux)

CVE-2025-21975
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.20 % · percentile 10 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 39ac237ce00968545e7298faa9e07ecb7e440fb5 < 15bdd93728369b2c8942a8e5d549d4b5dc04a2d9 ; affected 39ac237ce00968545e7298faa9e07ecb7e440fb5 < 29c419c64e9b396baeda1d8713d2aa3ba7c0acf6 ; affected 39ac237ce00968545e7298faa9e07ecb7e440fb5 < 1598307c914ba3d2642a2b03d1ff11efbdb7c6c2 ; affected 39ac237ce00968545e7298faa9e07ecb7e440fb5 < 637105ef0d46fe5beac15aceb431da3ec832bb00 ; affected 39ac237ce00968545e7298faa9e07ecb7e440fb5 < 1d34296409a519b4027750e3e82d9e19553a7398 ; affected 39ac237ce00968545e7298faa9e07ecb7e440fb5 < 093b4aaec97ec048623e3fe1e516fc45a954d412
Linux · Linuxaffected 5.6 ; unaffected 0 < 5.6 ; unaffected 5.10.236 ≤ 5.10.* ; unaffected 5.15.180 ≤ 5.15.* ; unaffected 6.1.132 ≤ 6.1.* ; unaffected 6.6.84 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD