{"id":"CVE-2025-21975","aliases":["CVE-2025-21975"],"related":[],"kind":"vulnerability","state":"published","title":"net/mlx5: handle errors in mlx5_chains_create_table()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: handle errors in mlx5_chains_create_table()\n\nIn mlx5_chains_create_table(), the return value of mlx5_get_fdb_sub_ns()\nand mlx5_get_flow_namespace() must be checked to prevent NULL pointer\ndereferences. If either function fails, the function should log error\nmessage with mlx5_core_warn() and return error pointer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: handle errors in mlx5_chains_create_table()\n\nIn mlx5_chains_create_table(), the return value of mlx5_get_fdb_sub_ns()\nand mlx5_get_flow_namespace() must be checked to prevent NULL pointer\ndereferences. If either function fails, the function should log error\nmessage with mlx5_core_warn() and return error pointer.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net/mlx5: gestión de errores en mlx5_chains_create_table(). En mlx5_chains_create_table(), se debe comprobar el valor de retorno de mlx5_get_fdb_sub_ns() y mlx5_get_flow_namespace() para evitar desreferencias de punteros nulos. Si alguna de las funciones falla, debe registrar un mensaje de error con mlx5_core_warn() y devolver un puntero de error.","source":"nvd"}],"published":"2025-04-01T15:47:06.590Z","modified":"2026-11-05T21:17:46.967Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"39ac237ce00968545e7298faa9e07ecb7e440fb5","fixed":"15bdd93728369b2c8942a8e5d549d4b5dc04a2d9","status":"affected"},{"type":"git","introduced":"39ac237ce00968545e7298faa9e07ecb7e440fb5","fixed":"29c419c64e9b396baeda1d8713d2aa3ba7c0acf6","status":"affected"},{"type":"git","introduced":"39ac237ce00968545e7298faa9e07ecb7e440fb5","fixed":"1598307c914ba3d2642a2b03d1ff11efbdb7c6c2","status":"affected"},{"type":"git","introduced":"39ac237ce00968545e7298faa9e07ecb7e440fb5","fixed":"637105ef0d46fe5beac15aceb431da3ec832bb00","status":"affected"},{"type":"git","introduced":"39ac237ce00968545e7298faa9e07ecb7e440fb5","fixed":"1d34296409a519b4027750e3e82d9e19553a7398","status":"affected"},{"type":"git","introduced":"39ac237ce00968545e7298faa9e07ecb7e440fb5","fixed":"093b4aaec97ec048623e3fe1e516fc45a954d412","status":"affected"},{"type":"git","introduced":"39ac237ce00968545e7298faa9e07ecb7e440fb5","fixed":"eab0396353be1c778eba1c0b5180176f04dd21ce","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.236","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.180","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.132","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.84","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.20","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.8","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.6","fixed":"5.10.236"},{"status":"affected","introduced":"5.11","fixed":"5.15.180"},{"status":"affected","introduced":"5.16","fixed":"6.1.132"},{"status":"affected","introduced":"6.2","fixed":"6.6.84"},{"status":"affected","introduced":"6.7","fixed":"6.12.20"},{"status":"affected","introduced":"6.13","fixed":"6.13.8"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/15bdd93728369b2c8942a8e5d549d4b5dc04a2d9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/29c419c64e9b396baeda1d8713d2aa3ba7c0acf6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1598307c914ba3d2642a2b03d1ff11efbdb7c6c2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/637105ef0d46fe5beac15aceb431da3ec832bb00","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1d34296409a519b4027750e3e82d9e19553a7398","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/093b4aaec97ec048623e3fe1e516fc45a954d412","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eab0396353be1c778eba1c0b5180176f04dd21ce","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:37:19.893Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21975","url":"https://www.cve.org/CVERecord?id=CVE-2025-21975","licence":"CVE Terms of Use","modified":"2026-11-05T20:41:48.550Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21975","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21975","licence":"Public domain","modified":"2026-11-05T21:17:46.967Z"}],"updatedAt":"2026-11-25T22:58:55.918Z","epss":{"score":0.00212,"percentile":0.12213,"date":"2026-12-01T12:00:22.000Z"}}