CVE-2026-74395
RDMA/mlx5: Fix devx subscribe-event unwind NULL dereference
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix devx subscribe-event unwind NULL dereference MLX5_IB_METHOD_DEVX_SUBSCRIBE_EVENT() links event_sub into sub_list before initializing the fields used by the shared error path. If eventfd_ctx_fdget() then fails, the unwind path dereferences event_sub->ev_file in uverbs_uobject_put() and calls subscribe_event_xa_dealloc() with an unset xa_key_level1. subscribe_event_xa_alloc() creates the XA entry exactly once for a given key_level1, on the first occurrence of that key. The unwind path must therefore call subscribe_event_xa_dealloc() exactly once for it as well. Enforce that by adding devx_key_in_sub_list() and calling subscribe_event_xa_dealloc() only when the last matching pending entry is being cleaned up.
INFO
Published Date :
Aug. 15, 2026, 6:22 a.m.
Last Modified :
Aug. 15, 2026, 6:22 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-74395
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Apply the Linux kernel patch for RDMA/mlx5.
- Ensure event subscription is handled correctly.
- Verify that pending entries are cleaned up properly.
- Update the kernel to the patched version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74395.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74395 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74395
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74395 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74395 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '7597385371425febdaa8c6a1da3625d4ffff16f5', 'lessThan': '6e15b770461eeaa0ff73934922cb670a6a9db04e', 'versionType': 'git'}, {'status': 'affected', 'version': '7597385371425febdaa8c6a1da3625d4ffff16f5', 'lessThan': '9be9aca28424228586fe9211c373ebdb826ebb6c', 'versionType': 'git'}, {'status': 'affected', 'version': '7597385371425febdaa8c6a1da3625d4ffff16f5', 'lessThan': 'f345e744b6b087188cde2377da5cbe9713b61353', 'versionType': 'git'}, {'status': 'affected', 'version': '7597385371425febdaa8c6a1da3625d4ffff16f5', 'lessThan': '1025dc2f7ba29b04b8687790fa91f9cd1a53141e', 'versionType': 'git'}, {'status': 'affected', 'version': '7597385371425febdaa8c6a1da3625d4ffff16f5', 'lessThan': '7921821fc2b19c01588311f6e7468ae5b68b1f61', 'versionType': 'git'}, {'status': 'affected', 'version': '7597385371425febdaa8c6a1da3625d4ffff16f5', 'lessThan': '5100febf8e9d6c8c5ba8dc6534c6a5e3376e5989', 'versionType': 'git'}, {'status': 'affected', 'version': '7597385371425febdaa8c6a1da3625d4ffff16f5', 'lessThan': '78b9589fda266c71f0f9d0c858d4fa7381a890a5', 'versionType': 'git'}, {'status': 'affected', 'version': '7597385371425febdaa8c6a1da3625d4ffff16f5', 'lessThan': '43f8f7946814c8e5f464518246fdbc69b6e32326', 'versionType': 'git'}], 'programFiles': ['drivers/infiniband/hw/mlx5/devx.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.3'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.3', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/infiniband/hw/mlx5/devx.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix devx subscribe-event unwind NULL dereference MLX5_IB_METHOD_DEVX_SUBSCRIBE_EVENT() links event_sub into sub_list before initializing the fields used by the shared error path. If eventfd_ctx_fdget() then fails, the unwind path dereferences event_sub->ev_file in uverbs_uobject_put() and calls subscribe_event_xa_dealloc() with an unset xa_key_level1. subscribe_event_xa_alloc() creates the XA entry exactly once for a given key_level1, on the first occurrence of that key. The unwind path must therefore call subscribe_event_xa_dealloc() exactly once for it as well. Enforce that by adding devx_key_in_sub_list() and calling subscribe_event_xa_dealloc() only when the last matching pending entry is being cleaned up. Added Reference https://git.kernel.org/stable/c/1025dc2f7ba29b04b8687790fa91f9cd1a53141e Added Reference https://git.kernel.org/stable/c/43f8f7946814c8e5f464518246fdbc69b6e32326 Added Reference https://git.kernel.org/stable/c/5100febf8e9d6c8c5ba8dc6534c6a5e3376e5989 Added Reference https://git.kernel.org/stable/c/6e15b770461eeaa0ff73934922cb670a6a9db04e Added Reference https://git.kernel.org/stable/c/78b9589fda266c71f0f9d0c858d4fa7381a890a5 Added Reference https://git.kernel.org/stable/c/7921821fc2b19c01588311f6e7468ae5b68b1f61 Added Reference https://git.kernel.org/stable/c/9be9aca28424228586fe9211c373ebdb826ebb6c Added Reference https://git.kernel.org/stable/c/f345e744b6b087188cde2377da5cbe9713b61353