CVE-2026-74395

Source
https://cve.org/CVERecord?id=CVE-2026-74395
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74395.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74395
Downstream
Published
2026-08-15T05:59:07.798Z
Modified
2026-08-18T03:31:28.534532334Z
Summary
RDMA/mlx5: Fix devx subscribe-event unwind NULL dereference
Details

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

RDMA/mlx5: Fix devx subscribe-event unwind NULL dereference

MLX5IBMETHODDEVXSUBSCRIBEEVENT() links eventsub into sub_list before initializing the fields used by the shared error path.

If eventfdctxfdget() then fails, the unwind path dereferences eventsub->evfile in uverbsuobjectput() and calls subscribeeventxadealloc() with an unset xakey_level1.

subscribeeventxaalloc() creates the XA entry exactly once for a given keylevel1, on the first occurrence of that key. The unwind path must therefore call subscribeeventxa_dealloc() exactly once for it as well.

Enforce that by adding devxkeyinsublist() and calling subscribeeventxa_dealloc() only when the last matching pending entry is being cleaned up.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74395.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
7597385371425febdaa8c6a1da3625d4ffff16f5
Fixed
6e15b770461eeaa0ff73934922cb670a6a9db04e
Fixed
9be9aca28424228586fe9211c373ebdb826ebb6c
Fixed
f345e744b6b087188cde2377da5cbe9713b61353
Fixed
1025dc2f7ba29b04b8687790fa91f9cd1a53141e
Fixed
7921821fc2b19c01588311f6e7468ae5b68b1f61
Fixed
5100febf8e9d6c8c5ba8dc6534c6a5e3376e5989
Fixed
78b9589fda266c71f0f9d0c858d4fa7381a890a5
Fixed
43f8f7946814c8e5f464518246fdbc69b6e32326

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.3.0
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

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