{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-40940","id":"CVE-2024-40940","title":"net/mlx5: Fix tainted pointer delete is case of flow rules creation fail","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: Fix tainted pointer delete is case of flow rules creation fail\n\nIn case of flow rule creation fail in mlx5_lag_create_port_sel_table(),\ninstead of previously created rules, the tainted pointer is deleted\ndeveral times.\nFix this bug by using correct flow rules pointers.\n\nFound by Linux Verification Center (linuxtesting.o","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: Fix tainted pointer delete is case of flow rules creation fail\n\nIn case of flow rule creation fail in mlx5_lag_create_port_sel_table(),\ninstead of previously created rules, the tainted pointer is deleted\ndeveral times.\nFix this bug by using correct flow rules pointers.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","published":"2024-07-12T12:25:15.808Z","updated":"2026-10-28T02:31:03.036045271Z","reserved":"2024-07-12T12:17:45.587Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"352899f384d4aefa77ede6310d08c1b515612a8f","lessThan":"531eab2da27dd42d68dfb841d82e987f4a6738b8","status":"affected","versionType":"git"},{"version":"352899f384d4aefa77ede6310d08c1b515612a8f","lessThan":"d857df86837ac1c30592e8a068204d16feac9930","status":"affected","versionType":"git"},{"version":"352899f384d4aefa77ede6310d08c1b515612a8f","lessThan":"a03a3fa12769e25f4385bee587afe1445aee7f7a","status":"affected","versionType":"git"},{"version":"352899f384d4aefa77ede6310d08c1b515612a8f","lessThan":"229bedbf62b13af5aba6525ad10b62ad38d9ccb5","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","lessThan":"5.19","status":"unaffected","versionType":"semver"},{"version":"6.1.95","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.35","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.6","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-415"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/531eab2da27dd42d68dfb841d82e987f4a6738b8","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/d857df86837ac1c30592e8a068204d16feac9930","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/a03a3fa12769e25f4385bee587afe1445aee7f7a","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/229bedbf62b13af5aba6525ad10b62ad38d9ccb5","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40940.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40940","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.00259,"epssPercentile":0.17737,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-40940","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40940","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-40940","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-2024-40940","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}