CVE-2026-43013

published 1 May 2026 · updated 13 Nov 2026

net/mlx5: lag: Check for LAG device before creating debugfs

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.1.168, Kernel 6.18.22, Kernel 6.19.12 and 8 more.

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: lag: Check for LAG device before creating debugfs __mlx5_lag_dev_add_mdev() may return 0 (success) even when an error occurs that is handled gracefully. Consequently, the initialization flow proceeds to call mlx5_ldev_add_debugfs() even when there is no valid LAG context. mlx5_ldev_add_debugfs() blindly created the debugfs directory and attributes. This exposed interfaces (like the members file) that rely on a valid ldev pointer, leading to potential NULL pointer dereferences if accessed when ldev is NULL. Add a check to verify that mlx5_lag_dev(dev) returns a valid pointer before attempting to create the debugfs entries.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.19 <6.1.168, >=6.13 <6.18.22, >=6.19 <6.19.12, >=6.2 <6.6.134, >=6.7 <6.12.81, =7.0, >=7f46a0b7327ae261f9981888708dbca22c283900 <89c65f2fcd8801365b410f40a427cbcd7f4c28e9, >=7f46a0b7327ae261f9981888708dbca22c283900 <a3db46d5f4df92630a96f7bc77b60e75c2353e06, >=7f46a0b7327ae261f9981888708dbca22c283900 <bf16bca6653679d8a514d6c1c5a2c67065033f14, >=7f46a0b7327ae261f9981888708dbca22c283900 <c53cf44588a93000f71817a6bb87a66353c48dee, >=7f46a0b7327ae261f9981888708dbca22c283900 <cfa774e6c920c81e700327bf10db8cb50d5db456, =5.19, >=7f46a0b7327ae261f9981888708dbca22c283900 <7129632cab3e4d23510b21930aa73b8d97a859f56.1.168, 6.18.22, 6.19.12, 6.6.134, 6.12.81, 89c65f2fcd8801365b410f40a427cbcd7f4c28e9, a3db46d5f4df92630a96f7bc77b60e75c2353e06, bf16bca6653679d8a514d6c1c5a2c67065033f14, c53cf44588a93000f71817a6bb87a66353c48dee, cfa774e6c920c81e700327bf10db8cb50d5db456, 7129632cab3e4d23510b21930aa73b8d97a859f5
linux-kernel: Kernel>=5.19.0 <6.1.168, >=6.13.0 <6.18.22, >=6.19.0 <6.19.12, >=6.2.0 <6.6.134, >=6.7.0 <6.12.816.1.168, 6.18.22, 6.19.12, 6.6.134, 6.12.81

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-43013 severity on Zeptric[![CVE-2026-43013](https://zeptric.io/badge/cve/CVE-2026-43013.svg)](https://zeptric.io/cve/CVE-2026-43013)