VDB

CVE-2024-40940

CVE-2024-40940 PUBLISHED

net/mlx5: Fix tainted pointer delete is case of flow rules creation fail

Reported by linux · Published July 12, 2024

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.

Affected products

VendorProductVersions
LinuxLinux352899f384d4aefa77ede6310d08c1b515612a8f, 352899f384d4aefa77ede6310d08c1b515612a8f, 352899f384d4aefa77ede6310d08c1b515612a8f
LinuxLinux5.19, 0, 6.1.95
linuxlinux_kernel5.19, 5.19, 5.19
LinuxLinux352899f384d4aefa77ede6310d08c1b515612a8f, 352899f384d4aefa77ede6310d08c1b515612a8f, 352899f384d4aefa77ede6310d08c1b515612a8f

Timeline

  • Jul 12, 2024 CVE Published
  • Jul 13, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
  • Jan 7, 2026 Security Advisory (271 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (174 in total, the first dated here)
  • Jun 17, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-40940
vulnetix vdb fixes CVE-2024-40940

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-40940/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›