CVE-2026-93037 (GCVE-0-2026-93037)
Vulnerability from cvelistv5
Published
2026-09-17 16:10
Modified
2026-10-19 09:04
Summary
In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: Propagate sdma_txinit_ahg() errors set_txreq_header_ahg() ignores the return value of sdma_txinit_ahg(). If sdma_txinit_ahg() fails, it returns before initializing tx->txreq. However, set_txreq_header_ahg() ignores the error and returns the AHG change count, causing the caller to continue processing the request as though initialization had succeeded. Propagate sdma_txinit_ahg() failures to the caller and abort request processing when initialization fails. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Impacted products
Vendor Product Version
Linux Linux Version: e3304b7cc4f14d365f46d6847a35563ae8b017f7
Version: e3304b7cc4f14d365f46d6847a35563ae8b017f7
Version: e3304b7cc4f14d365f46d6847a35563ae8b017f7
Version: e3304b7cc4f14d365f46d6847a35563ae8b017f7
Version: e3304b7cc4f14d365f46d6847a35563ae8b017f7
Version: e3304b7cc4f14d365f46d6847a35563ae8b017f7
Version: e3304b7cc4f14d365f46d6847a35563ae8b017f7
Version: e3304b7cc4f14d365f46d6847a35563ae8b017f7
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/hw/hfi1/user_sdma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cb73c2fe6e9cf563c99f22b7c8bca0d5f70d603e",
              "status": "affected",
              "version": "e3304b7cc4f14d365f46d6847a35563ae8b017f7",
              "versionType": "git"
            },
            {
              "lessThan": "122a730675565ff2ad210537c3fc3afb8291d482",
              "status": "affected",
              "version": "e3304b7cc4f14d365f46d6847a35563ae8b017f7",
              "versionType": "git"
            },
            {
              "lessThan": "bf974994150cfd14bfc599748925f4d426e00d90",
              "status": "affected",
              "version": "e3304b7cc4f14d365f46d6847a35563ae8b017f7",
              "versionType": "git"
            },
            {
              "lessThan": "fd6dee13f3857259b6b2ddd28e1ed95fd94ae2f9",
              "status": "affected",
              "version": "e3304b7cc4f14d365f46d6847a35563ae8b017f7",
              "versionType": "git"
            },
            {
              "lessThan": "5b7cefffd15d87c8103865f887cdcf9077d8094b",
              "status": "affected",
              "version": "e3304b7cc4f14d365f46d6847a35563ae8b017f7",
              "versionType": "git"
            },
            {
              "lessThan": "3416db552eb378e54cb2f2ce0db5f0df88654bda",
              "status": "affected",
              "version": "e3304b7cc4f14d365f46d6847a35563ae8b017f7",
              "versionType": "git"
            },
            {
              "lessThan": "ca99431820e8cac19f6a091c04da54cbe8d64f52",
              "status": "affected",
              "version": "e3304b7cc4f14d365f46d6847a35563ae8b017f7",
              "versionType": "git"
            },
            {
              "lessThan": "091c6162c022cbdfb64219708a71728cfd1d4600",
              "status": "affected",
              "version": "e3304b7cc4f14d365f46d6847a35563ae8b017f7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/hw/hfi1/user_sdma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.14"
            },
            {
              "lessThan": "4.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.270",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/hfi1: Propagate sdma_txinit_ahg() errors\n\nset_txreq_header_ahg() ignores the return value of sdma_txinit_ahg().\n\nIf sdma_txinit_ahg() fails, it returns before initializing tx-\u003etxreq.\nHowever, set_txreq_header_ahg() ignores the error and returns the AHG\nchange count, causing the caller to continue processing the request as\nthough initialization had succeeded.\n\nPropagate sdma_txinit_ahg() failures to the caller and abort request\nprocessing when initialization fails.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The attacker-controlled bytes are the sdma_req_info/header/iovecs copy_from_user()\u0027d in hfi1_user_sdma_process_request(), reached only from hfi1_write_iter() on the hfi1 user cdev. A remote Omni-Path peer does not supply that request; kernel verbs already check sdma_txinit_ahg() and are not this bug.\nAC:L - On the AHG path (npkts\u003e1 and HFI1_CAP_IS_USET(SDMA_AHG) so ahg_idx\u003e=0), the attacker sets a later packet\u0027s datalen to 0 or info.fragsize\u003eMAX_SDMA_PKT_SIZE so sdma_txinit_ahg() returns -ENODATA/-EMSGSIZE. set_txreq_header_ahg() still returns the AHG index count, and user_sdma_send_pkts() continues with no race.\nPR:L - hfi1_user_devnode() creates /dev/hfi1_N with mode 0666, and hfi1_file_open()/assign_ctxt() perform no capability checks, so an ordinary unprivileged local user can assign a context and writev() the crafted SDMA request.\nUI:N - Exploitation is the attacker\u0027s own open, HFI1_IOCTL_ASSIGN_CTXT, and writev() of a multi-packet user SDMA request; no other user must mount media, open a file, or otherwise interact.\nS:U - The uninitialized user_sdma_txreq.txreq is consumed by make_tx_sdma_desc() and submit_tx() inside the host hfi1 driver; impact is host-kernel memory/DMA corruption, not a guest-to-host, IOMMU, or other authority-boundary escape.\nC:H - user_sdma_send_pkts() still calls hfi1_add_pages_to_sdma_packet() after the failed sdma_txinit_ahg(), and make_tx_sdma_desc() reads/writes through uninitialized tx-\u003edescp. A recycled txreq_cache object whose extended descp was kfree\u0027d in __sdma_txclean() is a use-after-free, enabling kernel info disclosure.\nI:H - make_tx_sdma_desc() writes DMA address and length through that uninitialized/dangling descp, and submit_tx() copies those descriptors into the SDMA ring. That is an arbitrary kernel write and hardware DMA of attacker-influenced descriptors, enabling control-flow hijack.\nA:H - submit_tx() always loads descp-\u003eqw[0] even when num_desc is 0, so a NULL descp from an uninitialized txreq is a kernel NULL-deref oops; garbage num_desc/descriptors also crash or halt the SDMA engine."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:04:32.386Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cb73c2fe6e9cf563c99f22b7c8bca0d5f70d603e"
        },
        {
          "url": "https://git.kernel.org/stable/c/122a730675565ff2ad210537c3fc3afb8291d482"
        },
        {
          "url": "https://git.kernel.org/stable/c/bf974994150cfd14bfc599748925f4d426e00d90"
        },
        {
          "url": "https://git.kernel.org/stable/c/fd6dee13f3857259b6b2ddd28e1ed95fd94ae2f9"
        },
        {
          "url": "https://git.kernel.org/stable/c/5b7cefffd15d87c8103865f887cdcf9077d8094b"
        },
        {
          "url": "https://git.kernel.org/stable/c/3416db552eb378e54cb2f2ce0db5f0df88654bda"
        },
        {
          "url": "https://git.kernel.org/stable/c/ca99431820e8cac19f6a091c04da54cbe8d64f52"
        },
        {
          "url": "https://git.kernel.org/stable/c/091c6162c022cbdfb64219708a71728cfd1d4600"
        }
      ],
      "title": "RDMA/hfi1: Propagate sdma_txinit_ahg() errors",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-93037",
    "datePublished": "2026-09-17T16:10:31.452Z",
    "dateReserved": "2026-09-17T15:57:05.656Z",
    "dateUpdated": "2026-10-19T09:04:32.386Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…