CVE-2026-74395 (GCVE-0-2026-74395)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:59 – Updated: 2026-08-17 05:18
VLAI
Title
RDMA/mlx5: Fix devx subscribe-event unwind NULL dereference
Summary
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.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 7597385371425febdaa8c6a1da3625d4ffff16f5 , < 6e15b770461eeaa0ff73934922cb670a6a9db04e (git)
Affected: 7597385371425febdaa8c6a1da3625d4ffff16f5 , < 9be9aca28424228586fe9211c373ebdb826ebb6c (git)
Affected: 7597385371425febdaa8c6a1da3625d4ffff16f5 , < f345e744b6b087188cde2377da5cbe9713b61353 (git)
Affected: 7597385371425febdaa8c6a1da3625d4ffff16f5 , < 1025dc2f7ba29b04b8687790fa91f9cd1a53141e (git)
Affected: 7597385371425febdaa8c6a1da3625d4ffff16f5 , < 7921821fc2b19c01588311f6e7468ae5b68b1f61 (git)
Affected: 7597385371425febdaa8c6a1da3625d4ffff16f5 , < 5100febf8e9d6c8c5ba8dc6534c6a5e3376e5989 (git)
Affected: 7597385371425febdaa8c6a1da3625d4ffff16f5 , < 78b9589fda266c71f0f9d0c858d4fa7381a890a5 (git)
Affected: 7597385371425febdaa8c6a1da3625d4ffff16f5 , < 43f8f7946814c8e5f464518246fdbc69b6e32326 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.3
Unaffected: 0 , < 5.3 (semver)
Unaffected: 5.10.261 , ≤ 5.10.* (semver)
Unaffected: 5.15.212 , ≤ 5.15.* (semver)
Unaffected: 6.1.178 , ≤ 6.1.* (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/hw/mlx5/devx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6e15b770461eeaa0ff73934922cb670a6a9db04e",
              "status": "affected",
              "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
              "versionType": "git"
            },
            {
              "lessThan": "9be9aca28424228586fe9211c373ebdb826ebb6c",
              "status": "affected",
              "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
              "versionType": "git"
            },
            {
              "lessThan": "f345e744b6b087188cde2377da5cbe9713b61353",
              "status": "affected",
              "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
              "versionType": "git"
            },
            {
              "lessThan": "1025dc2f7ba29b04b8687790fa91f9cd1a53141e",
              "status": "affected",
              "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
              "versionType": "git"
            },
            {
              "lessThan": "7921821fc2b19c01588311f6e7468ae5b68b1f61",
              "status": "affected",
              "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
              "versionType": "git"
            },
            {
              "lessThan": "5100febf8e9d6c8c5ba8dc6534c6a5e3376e5989",
              "status": "affected",
              "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
              "versionType": "git"
            },
            {
              "lessThan": "78b9589fda266c71f0f9d0c858d4fa7381a890a5",
              "status": "affected",
              "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
              "versionType": "git"
            },
            {
              "lessThan": "43f8f7946814c8e5f464518246fdbc69b6e32326",
              "status": "affected",
              "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/hw/mlx5/devx.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.3"
            },
            {
              "lessThan": "5.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.261",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.261",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.212",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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-\u003eev_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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:18:34.634Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74395",
    "datePublished": "2026-08-15T05:59:07.798Z",
    "dateReserved": "2026-08-15T05:44:03.891Z",
    "dateUpdated": "2026-08-17T05:18:34.634Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74395",
      "date": "2026-09-21",
      "epss": "0.00177",
      "percentile": "0.07457"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/infiniband/hw/mlx5/devx.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "6e15b770461eeaa0ff73934922cb670a6a9db04e",
                    "status": "affected",
                    "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "9be9aca28424228586fe9211c373ebdb826ebb6c",
                    "status": "affected",
                    "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f345e744b6b087188cde2377da5cbe9713b61353",
                    "status": "affected",
                    "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1025dc2f7ba29b04b8687790fa91f9cd1a53141e",
                    "status": "affected",
                    "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7921821fc2b19c01588311f6e7468ae5b68b1f61",
                    "status": "affected",
                    "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5100febf8e9d6c8c5ba8dc6534c6a5e3376e5989",
                    "status": "affected",
                    "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "78b9589fda266c71f0f9d0c858d4fa7381a890a5",
                    "status": "affected",
                    "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "43f8f7946814c8e5f464518246fdbc69b6e32326",
                    "status": "affected",
                    "version": "7597385371425febdaa8c6a1da3625d4ffff16f5",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/infiniband/hw/mlx5/devx.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.3"
                  },
                  {
                    "lessThan": "5.3",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.261",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.212",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.178",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.145",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.97",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.40",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.1.*",
                    "status": "unaffected",
                    "version": "7.1.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "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-\u003eev_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."
          }
        ],
        "id": "CVE-2026-74395",
        "lastModified": "2026-08-17T06:19:34.557",
        "metrics": {},
        "published": "2026-08-15T06:22:41.480",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1025dc2f7ba29b04b8687790fa91f9cd1a53141e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/43f8f7946814c8e5f464518246fdbc69b6e32326"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5100febf8e9d6c8c5ba8dc6534c6a5e3376e5989"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6e15b770461eeaa0ff73934922cb670a6a9db04e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/78b9589fda266c71f0f9d0c858d4fa7381a890a5"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7921821fc2b19c01588311f6e7468ae5b68b1f61"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/9be9aca28424228586fe9211c373ebdb826ebb6c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f345e744b6b087188cde2377da5cbe9713b61353"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-20T22:19:04+00:00",
      "cve": "CVE-2026-74395",
      "id": "CVE-2026-74395",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_affected": "232",
      "product_status:known_not_affected": "42",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: RDMA/mlx5: Fix devx subscribe-event unwind NULL dereference",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74395.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-18T00:27:01Z",
      "cve": "CVE-2026-74395",
      "id": "CVE-2026-74395",
      "initial_release_date": "2026-08-27T16:51:30Z",
      "product_status:known_affected": "626",
      "product_status:known_not_affected": "93",
      "product_status:recommended": "107",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-74395",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-74395.json",
      "version": "10"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…