← Database

CVE-2024-40940

HIGH CVSS: 7.8 Published: 2024-07-12 Modified: 2026-06-17

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.

Affected Platforms

Linux Linux Kernel

Weakness Type

CWE-415

References