CVE-2026-43013

Source
https://cve.org/CVERecord?id=CVE-2026-43013
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43013.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-43013
Downstream
Published
2026-05-01T14:15:18.907Z
Modified
2026-05-18T06:00:12.050637812Z
Summary
net/mlx5: lag: Check for LAG device before creating debugfs
Details

In the Linux kernel, the following vulnerability has been resolved:

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

_mlx5lagdevaddmdev() may return 0 (success) even when an error occurs that is handled gracefully. Consequently, the initialization flow proceeds to call mlx5ldevadddebugfs() even when there is no valid LAG context.

mlx5ldevadd_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 mlx5lagdev(dev) returns a valid pointer before attempting to create the debugfs entries.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43013.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7f46a0b7327ae261f9981888708dbca22c283900
Fixed
a3db46d5f4df92630a96f7bc77b60e75c2353e06
Fixed
7129632cab3e4d23510b21930aa73b8d97a859f5
Fixed
cfa774e6c920c81e700327bf10db8cb50d5db456
Fixed
c53cf44588a93000f71817a6bb87a66353c48dee
Fixed
89c65f2fcd8801365b410f40a427cbcd7f4c28e9
Fixed
bf16bca6653679d8a514d6c1c5a2c67065033f14

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43013.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.1.168
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.134
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.81
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.22
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.12

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43013.json"