{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-74395",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-08-15T05:44:03.891Z",
        "datePublished": "2026-08-15T05:59:07.798Z",
        "dateUpdated": "2026-08-17T05:18:34.634Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-17T05:18:34.634Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx5: Fix devx subscribe-event unwind NULL dereference\n\nMLX5_IB_METHOD_DEVX_SUBSCRIBE_EVENT() links event_sub into sub_list\nbefore initializing the fields used by the shared error path.\n\nIf eventfd_ctx_fdget() then fails, the unwind path dereferences\nevent_sub->ev_file in uverbs_uobject_put() and calls\nsubscribe_event_xa_dealloc() with an unset xa_key_level1.\n\nsubscribe_event_xa_alloc() creates the XA entry exactly once for a given\nkey_level1, on the first occurrence of that key. The unwind path must\ntherefore call subscribe_event_xa_dealloc() exactly once for it as well.\n\nEnforce that by adding devx_key_in_sub_list() and calling\nsubscribe_event_xa_dealloc() only when the last matching pending entry is\nbeing cleaned up."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/infiniband/hw/mlx5/devx.c"
                    ],
                    "versions": [
                        {
                            "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                            "lessThan": "6e15b770461eeaa0ff73934922cb670a6a9db04e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                            "lessThan": "9be9aca28424228586fe9211c373ebdb826ebb6c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                            "lessThan": "f345e744b6b087188cde2377da5cbe9713b61353",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                            "lessThan": "1025dc2f7ba29b04b8687790fa91f9cd1a53141e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                            "lessThan": "7921821fc2b19c01588311f6e7468ae5b68b1f61",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                            "lessThan": "5100febf8e9d6c8c5ba8dc6534c6a5e3376e5989",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                            "lessThan": "78b9589fda266c71f0f9d0c858d4fa7381a890a5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                            "lessThan": "43f8f7946814c8e5f464518246fdbc69b6e32326",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/infiniband/hw/mlx5/devx.c"
                    ],
                    "versions": [
                        {
                            "version": "5.3",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.3",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.261",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.212",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.178",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.145",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.97",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.40",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.5",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "5.10.261"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "5.15.212"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "6.1.178"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "6.6.145"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "6.12.97"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "6.18.40"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "7.1.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.3",
                                    "versionEndExcluding": "7.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/6e15b770461eeaa0ff73934922cb670a6a9db04e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9be9aca28424228586fe9211c373ebdb826ebb6c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f345e744b6b087188cde2377da5cbe9713b61353"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1025dc2f7ba29b04b8687790fa91f9cd1a53141e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7921821fc2b19c01588311f6e7468ae5b68b1f61"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5100febf8e9d6c8c5ba8dc6534c6a5e3376e5989"
                },
                {
                    "url": "https://git.kernel.org/stable/c/78b9589fda266c71f0f9d0c858d4fa7381a890a5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/43f8f7946814c8e5f464518246fdbc69b6e32326"
                }
            ],
            "title": "RDMA/mlx5: Fix devx subscribe-event unwind NULL dereference",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}