CVE-2026-139156 (GCVE-0-2026-139156)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:32 – Updated: 2026-12-01 05:41
VLAI
Title
nvme-rdma: fix NULL metadata_sgl dereference with T10-PI
Summary
In the Linux kernel, the following vulnerability has been resolved: nvme-rdma: fix NULL metadata_sgl dereference with T10-PI Since commit 2a8513091d2f ("nvme-rdma: parallelize I/O queue allocation and startup") the I/O tag set is allocated before the I/O queues. nvme_rdma_init_request() only sets req->metadata_sgl if queue->pi_support is set, but pi_support is only set later by nvme_rdma_alloc_queue(), so every I/O request is left with a NULL metadata_sgl. With an RDMA device that supports integrity and a namespace formatted with protection information, nvme_rdma_dma_map_req() then dereferences the NULL pointer on the first integrity I/O, already during the namespace scan when there is more than one I/O queue. Queues that a later reconnect adds for the first time have the same problem. Check queue_idx and the controller's max_integrity_segments instead, which is what nvme_rdma_alloc_queue() derives pi_support from.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 2a8513091d2f0b9a1e94b1843c48c712e7c17301 , < 3783c349a3de6a1d994b50b7a01402e682be1d87 (git)
Affected: 2a8513091d2f0b9a1e94b1843c48c712e7c17301 , < 557114b52c1d73f45c603337ac3465bba6667e34 (git)
guessed Create a notification for this product.
Linux Linux Affected: 7.3
Unaffected: 0 , < 7.3 (semver)
Unaffected: 7.3.6 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (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/nvme/host/rdma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3783c349a3de6a1d994b50b7a01402e682be1d87",
              "status": "affected",
              "version": "2a8513091d2f0b9a1e94b1843c48c712e7c17301",
              "versionType": "git"
            },
            {
              "lessThan": "557114b52c1d73f45c603337ac3465bba6667e34",
              "status": "affected",
              "version": "2a8513091d2f0b9a1e94b1843c48c712e7c17301",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/nvme/host/rdma.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.3"
            },
            {
              "lessThan": "7.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.6",
                  "versionStartIncluding": "7.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "7.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-rdma: fix NULL metadata_sgl dereference with T10-PI\n\nSince commit 2a8513091d2f (\"nvme-rdma: parallelize I/O queue allocation\nand startup\") the I/O tag set is allocated before the I/O queues.\nnvme_rdma_init_request() only sets req-\u003emetadata_sgl if\nqueue-\u003epi_support is set, but pi_support is only set later by\nnvme_rdma_alloc_queue(), so every I/O request is left with a NULL\nmetadata_sgl.\n\nWith an RDMA device that supports integrity and a namespace formatted\nwith protection information, nvme_rdma_dma_map_req() then dereferences\nthe NULL pointer on the first integrity I/O, already during the\nnamespace scan when there is more than one I/O queue.\n\nQueues that a later reconnect adds for the first time have the same\nproblem.\n\nCheck queue_idx and the controller\u0027s max_integrity_segments instead,\nwhich is what nvme_rdma_alloc_queue() derives pi_support from."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The NVMe/RDMA target (RoCEv2, routable) chooses the namespace format in its Identify Namespace response (FLBAS META_EXT, LBAF ms, DPS PI type). nvme_configure_metadata() turns that into a blk integrity profile, so every read gets PI and nvme_rdma_queue_rq()-\u003envme_rdma_map_data()-\u003envme_rdma_dma_map_req() writes through the NULL req-\u003emetadata_sgl.\nAC:L - The target alone produces the trigger. It advertises a PI-formatted namespace at connect time, or later sends a NS_CHANGED AEN or drops the queue pair to force a rescan, and the partition-scan read crashes the host. The host only needs an mlx5 HCA with SHO (IBK_INTEGRITY_HANDOVER), which is the standard NVMe/RDMA HCA, and has no opt-in knob.\nPR:N - The initiator makes the outbound connection and accepts the target\u0027s Identify Namespace data. That data passes through nvme_scan_work and nvme_update_ns_info, and no local uid or capability is checked. DH-HMAC-CHAP controller authentication is optional and off by default, so the target needs no credentials on the host.\nUI:N - No host user acts. nvme_scan_work-\u003edevice_add_disk() issues the partition-table read itself, and __bio_integrity_action() attaches PI to every READ, so the first I/O on any queue oopses. A reconnect via nvme_rdma_reconnect_ctrl_work re-runs the scan without operator action.\nS:U - The oops is confined to the initiator kernel\u0027s block dispatch path. No guest/host, IOMMU or sandbox boundary is crossed, and the target only affects the host it is connected to.\nC:N - metadata_sgl is NULL because nvme_rdma_init_request() runs on __GFP_ZERO rq pages before pi_support is set. The faulting store is req-\u003emetadata_sgl-\u003esg_table.sgl at address 0x8, in the unmapped zero page that mmap_min_addr protects, so no data is read or returned.\nI:N - The only write targets NULL+8, which faults before sg_alloc_table_chained() or ib_dma_map_sg() run. No kernel object is corrupted and no wrong NVMe command or PI tuple is sent.\nA:H - The NULL store oopses in nvme_rdma_dma_map_req() under nvme_rdma_queue_rq(), from scan_work or any submitter. That panics hosts with panic_on_oops and otherwise leaves the namespace scan and I/O stuck. All I/O requests share the NULL pointer, so every reconnect or rescan the target triggers crashes again."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T05:41:38.430Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3783c349a3de6a1d994b50b7a01402e682be1d87"
        },
        {
          "url": "https://git.kernel.org/stable/c/557114b52c1d73f45c603337ac3465bba6667e34"
        }
      ],
      "title": "nvme-rdma: fix NULL metadata_sgl dereference with T10-PI",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-139156",
    "datePublished": "2026-11-30T13:32:06.082Z",
    "dateReserved": "2026-11-30T13:22:15.917Z",
    "dateUpdated": "2026-12-01T05:41:38.430Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-139156",
      "date": "2026-12-04",
      "epss": "0.005",
      "percentile": "0.44443"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/nvme/host/rdma.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "3783c349a3de6a1d994b50b7a01402e682be1d87",
                    "status": "affected",
                    "version": "2a8513091d2f0b9a1e94b1843c48c712e7c17301",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "557114b52c1d73f45c603337ac3465bba6667e34",
                    "status": "affected",
                    "version": "2a8513091d2f0b9a1e94b1843c48c712e7c17301",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/nvme/host/rdma.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "7.3"
                  },
                  {
                    "lessThan": "7.3",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "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\nnvme-rdma: fix NULL metadata_sgl dereference with T10-PI\n\nSince commit 2a8513091d2f (\"nvme-rdma: parallelize I/O queue allocation\nand startup\") the I/O tag set is allocated before the I/O queues.\nnvme_rdma_init_request() only sets req-\u003emetadata_sgl if\nqueue-\u003epi_support is set, but pi_support is only set later by\nnvme_rdma_alloc_queue(), so every I/O request is left with a NULL\nmetadata_sgl.\n\nWith an RDMA device that supports integrity and a namespace formatted\nwith protection information, nvme_rdma_dma_map_req() then dereferences\nthe NULL pointer on the first integrity I/O, already during the\nnamespace scan when there is more than one I/O queue.\n\nQueues that a later reconnect adds for the first time have the same\nproblem.\n\nCheck queue_idx and the controller\u0027s max_integrity_segments instead,\nwhich is what nvme_rdma_alloc_queue() derives pi_support from."
          }
        ],
        "id": "CVE-2026-139156",
        "lastModified": "2026-12-01T06:17:38.057",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 3.6,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:18:34.317",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3783c349a3de6a1d994b50b7a01402e682be1d87"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/557114b52c1d73f45c603337ac3465bba6667e34"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-01T14:03:20+00:00",
      "cve": "CVE-2026-139156",
      "id": "CVE-2026-139156",
      "initial_release_date": "2026-11-30T13:32:06.082000+00:00",
      "product_status:known_not_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via NULL pointer dereference in NVMe over RDMA",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-139156.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    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.