{"id":"CVE-2024-40940","published":"2024-07-12T12:25:15Z","modified":"2026-05-11T20:22:47Z","title":"net/mlx5: Fix tainted pointer delete is case of flow rules creation fail","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00259,"percentile":0.17918,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/531eab2da27dd42d68dfb841d82e987f4a6738b8","tags":[]},{"url":"https://git.kernel.org/stable/c/d857df86837ac1c30592e8a068204d16feac9930","tags":[]},{"url":"https://git.kernel.org/stable/c/a03a3fa12769e25f4385bee587afe1445aee7f7a","tags":[]},{"url":"https://git.kernel.org/stable/c/229bedbf62b13af5aba6525ad10b62ad38d9ccb5","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":3.6,"factors":[{"name":"EPSS percentile","points":3.58}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 352899f384d4aefa77ede6310d08c1b515612a8f, < 531eab2da27dd42d68dfb841d82e987f4a6738b8",">= 352899f384d4aefa77ede6310d08c1b515612a8f, < d857df86837ac1c30592e8a068204d16feac9930",">= 352899f384d4aefa77ede6310d08c1b515612a8f, < a03a3fa12769e25f4385bee587afe1445aee7f7a",">= 352899f384d4aefa77ede6310d08c1b515612a8f, < 229bedbf62b13af5aba6525ad10b62ad38d9ccb5"]},{"vendor":"Linux","product":"Linux","versions":["5.19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:04:30.416293Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-38828","exploited":false,"provenance":"source"}}