cbcvebase.
CVE-2024-40940
published 2024-07-12

CVE-2024-40940: 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…

PriorityP336high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.26%
17.6th percentile
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

15 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.99-1 (bookworm)linux 6.1.99-1 (bookworm)
debianlinux-6.1< linux 6.1.99-1 (bookworm)linux 6.1.99-1 (bookworm)
linuxlinux
linuxlinux>= 352899f384d4aefa77ede6310d08c1b515612a8f < 531eab2da27dd42d68dfb841d82e987f4a6738b8531eab2da27dd42d68dfb841d82e987f4a6738b8
linuxlinux>= 352899f384d4aefa77ede6310d08c1b515612a8f < d857df86837ac1c30592e8a068204d16feac9930d857df86837ac1c30592e8a068204d16feac9930
linuxlinux>= 352899f384d4aefa77ede6310d08c1b515612a8f < a03a3fa12769e25f4385bee587afe1445aee7f7aa03a3fa12769e25f4385bee587afe1445aee7f7a
linuxlinux>= 352899f384d4aefa77ede6310d08c1b515612a8f < 229bedbf62b13af5aba6525ad10b62ad38d9ccb5229bedbf62b13af5aba6525ad10b62ad38d9ccb5
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.1.99-16.1.99-1
linuxlinux_kernel>= 0 < 6.9.7-16.9.7-1
linuxlinux_kernel>= 0 < 6.9.7-16.9.7-1
linuxlinux_kernel>= 0 < 6.8.0-44.446.8.0-44.44
linuxlinux_kernel>= 5.19 < 6.1.956.1.95
linuxlinux_kernel>= 6.2 < 6.6.356.6.35
linuxlinux_kernel>= 6.7 < 6.9.66.9.6

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.