Kernel crash via stale mlx5 LAG readiness flag
Published Jun 18, 2025 · Updated May 11, 2026
A null-pointer dereference in Linux mlx5 LAG handling allows local users to crash the kernel after asymmetric PF registration and removal. The readiness flag is set when both PF device pointers exist, rather than after both netdevices register, and remains set if PF0 unloads before its netdevice is assigned. A system using mlx5 link aggregation is exposed when this sequence reaches mlx5_do_bond(), which passes a null PF pointer to mlx5_lag_is_multipath().
Summary
What happened
A null-pointer dereference in Linux mlx5 LAG handling allows local users to crash the kernel after asymmetric PF registration and removal. The readiness flag is set when both PF device pointers exist, rather than after both netdevices register, and remains set if PF0 unloads before its netdevice is assigned. A system using mlx5 link aggregation is exposed when this sequence reaches mlx5_do_bond(), which passes a null PF pointer to mlx5_lag_is_multipath().
The record
- CVE
- CVE-2022-50002
- Published
- Jun 18, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.14
- Affected versionversion=8a66e45859797e5dd77ff17dd37781f99d5f5b9b <4c040acf5744e87a7b3490f9ec8bedd0d15c9f29
- Affected versionversion=8a66e45859797e5dd77ff17dd37781f99d5f5b9b <a6e675a66175869b7d87c0e1dd0ddf93e04f8098
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo