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.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw occurs when an application attempts to subscribe to an RDMA devx event and a file descriptor lookup fails. The cleanup routine then dereferences an uninitialized pointer `event_sub->ev_file`, causing a NULL pointer dereference in kernel space. This can lead to a kernel panic and a system reboot. The vulnerability is a classic NULL pointer dereference (CWE‑476).

Affected Systems

Any Linux kernel that includes the MLX5 driver with the devx event subscription method and has not yet incorporated the commit that enforces proper cleanup. The affected range covers all unpatched kernels shipping the driver; no specific release is singled out, so all such kernels are potentially impacted.

Risk and Exploitability

The CVSS score of 5.5 places this flaw in the medium severity range. The EPSS score of <1% indicates a very low probability of exploitation. The issue is not listed in CISA’s KEV catalog. While the exploit appears to require access to the devx interface—likely local or privileged—the description does not explicitly state a remote attack vector. The potential impact is a system crash, but the overall risk is moderated by the low exploitation probability and lack of confirmed remote exploitability.

Generated by OpenCVE AI on August 21, 2026 at 23:46 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the commit fixing the devx subscribe–event unwind NULL dereference.
  • If an immediate upgrade is not possible, disable the MLX5/RDMA devx subsystem by removing the kernel module or disabling the corresponding configuration options until a patched kernel is available.
  • Monitor system logs for signs of kernel panics or abnormal activity and apply the patch as soon as it is released.

Generated by OpenCVE AI on August 21, 2026 at 23:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sat, 15 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Sat, 15 Aug 2026 06:15:00 +0000

Type Values Removed Values 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.
Title RDMA/mlx5: Fix devx subscribe-event unwind NULL dereference
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:18:34.634Z

Reserved: 2026-08-15T05:44:03.891Z

Link: CVE-2026-74395

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:41.480

Modified: 2026-08-17T06:19:34.557

Link: CVE-2026-74395

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74395 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T00:00:16Z

Weaknesses