{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-21975","id":"CVE-2025-21975","title":"net/mlx5: handle errors in mlx5_chains_create_table()","description":"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.","descriptionLong":"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.","published":"2025-04-01T15:47:06.590Z","updated":"2026-11-07T02:30:19.534263240Z","reserved":"2024-12-29T08:45:45.797Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"39ac237ce00968545e7298faa9e07ecb7e440fb5","lessThan":"15bdd93728369b2c8942a8e5d549d4b5dc04a2d9","status":"affected","versionType":"git"},{"version":"39ac237ce00968545e7298faa9e07ecb7e440fb5","lessThan":"29c419c64e9b396baeda1d8713d2aa3ba7c0acf6","status":"affected","versionType":"git"},{"version":"39ac237ce00968545e7298faa9e07ecb7e440fb5","lessThan":"1598307c914ba3d2642a2b03d1ff11efbdb7c6c2","status":"affected","versionType":"git"},{"version":"39ac237ce00968545e7298faa9e07ecb7e440fb5","lessThan":"637105ef0d46fe5beac15aceb431da3ec832bb00","status":"affected","versionType":"git"},{"version":"39ac237ce00968545e7298faa9e07ecb7e440fb5","lessThan":"1d34296409a519b4027750e3e82d9e19553a7398","status":"affected","versionType":"git"},{"version":"39ac237ce00968545e7298faa9e07ecb7e440fb5","lessThan":"093b4aaec97ec048623e3fe1e516fc45a954d412","status":"affected","versionType":"git"},{"version":"39ac237ce00968545e7298faa9e07ecb7e440fb5","lessThan":"eab0396353be1c778eba1c0b5180176f04dd21ce","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","lessThan":"5.6","status":"unaffected","versionType":"semver"},{"version":"5.10.236","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.180","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.132","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.84","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.20","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.8","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/15bdd93728369b2c8942a8e5d549d4b5dc04a2d9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/29c419c64e9b396baeda1d8713d2aa3ba7c0acf6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1598307c914ba3d2642a2b03d1ff11efbdb7c6c2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/637105ef0d46fe5beac15aceb431da3ec832bb00","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1d34296409a519b4027750e3e82d9e19553a7398","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/093b4aaec97ec048623e3fe1e516fc45a954d412","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/eab0396353be1c778eba1c0b5180176f04dd21ce","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21975.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21975","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00211,"epssPercentile":0.11513,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-21975","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21975","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-21975","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-21975","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}