CVE-2024-40940net/mlx5: Fix tainted pointer delete is case of flow rules creation fail
- 7.8HighCVSS base score
- 0.26%Exploitation in 30 daysEPSS · top 82% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix tainted pointer delete is case of flow rules creation fail In case of flow rule creation fail in mlx5_lag_create_port_sel_table(), instead of previously created rules, the tainted pointer is deleted deveral times. Fix this bug by using correct flow rules pointers. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Timeline
ID reserved
By Linux
Published
- 22 months later
· 22 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.26% · top 82% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 352899f384d4aefa77ede6310d08c1b515612a8f – < 531eab2da27dd42d68dfb841d82e987f4a6738b8
- affected 352899f384d4aefa77ede6310d08c1b515612a8f – < d857df86837ac1c30592e8a068204d16feac9930
- affected 352899f384d4aefa77ede6310d08c1b515612a8f – < a03a3fa12769e25f4385bee587afe1445aee7f7a
- affected 352899f384d4aefa77ede6310d08c1b515612a8f – < 229bedbf62b13af5aba6525ad10b62ad38d9ccb5
- affected 5.19
- unaffected < 5.19
- unaffected 6.1.95 – ≤ 6.1.*
- unaffected 6.6.35 – ≤ 6.6.*
- unaffected 6.9.6 – ≤ 6.9.*
- unaffected 6.10 – ≤ *
References
References5
- https://git.kernel.org/stable/c/531eab2da27dd42d68dfb841d82e987f4a6738b8 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/d857df86837ac1c30592e8a068204d16feac9930 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/a03a3fa12769e25f4385bee587afe1445aee7f7a (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/229bedbf62b13af5aba6525ad10b62ad38d9ccb5 (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-38828 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-40940)Record last updated .