CVE-2026-98154 (GCVE-0-2026-98154)

Vulnerability from cvelistv5 – Published: 2026-09-25 10:36 – Updated: 2026-09-25 14:42
VLAI
Title
nvme-rdma: fix -EIO cleanup order in queue_rq
Summary
In the Linux kernel, the following vulnerability has been resolved: nvme-rdma: fix -EIO cleanup order in queue_rq On -EIO, the RDMA queue_rq path reports a host path error and then still cleans up the command and unmaps the SQE DMA. The path error helper completes the request, so that is double cleanup and DMA unmap after the request is already complete. Unmap the SQE first, then report the host path error. Skip the outer command cleanup on that path.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 62eca39722fd997e3621fc903229917b9f0fb271 , < a41e7fc8d244d9cfc6273051aed85b67adedbb89 (git)
Affected: 62eca39722fd997e3621fc903229917b9f0fb271 , < cf3e706963ffbd3ee2568fa0d08ab016f0575ea8 (git)
Affected: 62eca39722fd997e3621fc903229917b9f0fb271 , < 171b993a4aed9889159df4815b6a6ba141e61975 (git)
Affected: 62eca39722fd997e3621fc903229917b9f0fb271 , < d61828199c6cb4b76d48403c77023cd4bb9d09fc (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.12
Unaffected: 0 , < 5.12 (semver)
Unaffected: 6.12.111 , ≤ 6.12.* (semver)
Unaffected: 6.18.53 , ≤ 6.18.* (semver)
Unaffected: 7.2.7 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc2 , ≤ * (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": "a41e7fc8d244d9cfc6273051aed85b67adedbb89",
              "status": "affected",
              "version": "62eca39722fd997e3621fc903229917b9f0fb271",
              "versionType": "git"
            },
            {
              "lessThan": "cf3e706963ffbd3ee2568fa0d08ab016f0575ea8",
              "status": "affected",
              "version": "62eca39722fd997e3621fc903229917b9f0fb271",
              "versionType": "git"
            },
            {
              "lessThan": "171b993a4aed9889159df4815b6a6ba141e61975",
              "status": "affected",
              "version": "62eca39722fd997e3621fc903229917b9f0fb271",
              "versionType": "git"
            },
            {
              "lessThan": "d61828199c6cb4b76d48403c77023cd4bb9d09fc",
              "status": "affected",
              "version": "62eca39722fd997e3621fc903229917b9f0fb271",
              "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": "5.12"
            },
            {
              "lessThan": "5.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.7",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc2",
                  "versionStartIncluding": "5.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-rdma: fix -EIO cleanup order in queue_rq\n\nOn -EIO, the RDMA queue_rq path reports a host path error and then\nstill cleans up the command and unmaps the SQE DMA. The path error\nhelper completes the request, so that is double cleanup and DMA unmap\nafter the request is already complete.\n\nUnmap the SQE first, then report the host path error. Skip the outer\ncommand cleanup on that path."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is in the -EIO error path of nvme_rdma_queue_rq(), reached when a local user submits block I/O to an nvme-rdma namespace. The -EIO comes from ib_dma_map_sg() failing in nvme_rdma_dma_map_req() or from the HCA\u0027s internal-error state in ib_post_send(). The NVMe-oF target sends no data that causes it, so the vector is local.\nAC:H - The path needs a DMA mapping failure or an mlx4/mlx5 HCA in MLX*_DEVICE_STATE_INTERNAL_ERROR, which the attacker can\u0027t cause on demand. Turning the second nvme_cleanup_cmd()/sqe unmap into corruption also needs the freed tag to be reused (for example by a discard with RQF_SPECIAL_PAYLOAD) between completion and the stale cleanup.\nPR:L - The attacker only needs to issue ordinary I/O, including discards, to a filesystem or block device backed by an nvme-rdma namespace. An unprivileged user with write access can do that. Setting up the NVMe-oF connection is an admin step the attacker does not need to perform.\nUI:N - No victim action is needed; the attacker\u0027s own I/O submissions drive nvme_rdma_queue_rq() into the failing path.\nS:U - The corruption hits host kernel memory and the host\u0027s own DMA mappings, inside the kernel\u0027s security authority. No guest, IOMMU or sandbox boundary is crossed.\nC:H - nvme_host_path_error() completes the request and may free its tag. The later nvme_cleanup_cmd() can then kfree() the special_vec range buffer of a request that reused the tag (a use-after-free), and ib_dma_unmap_single() can tear down another request\u0027s sqe mapping. Both are memory-corruption primitives that could leak data.\nI:H - Freeing a live discard range buffer and unmapping a reused request\u0027s command DMA mapping lets freed memory be reallocated while the HCA or driver still uses it. That can corrupt kernel heap objects or change the NVMe command sent to the target.\nA:H - The double cleanup of a completed or requeued request can cause a double kfree, a DMA-unmap fault or a KASAN/oops, which crashes the host kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-25T14:42:13.909Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a41e7fc8d244d9cfc6273051aed85b67adedbb89"
        },
        {
          "url": "https://git.kernel.org/stable/c/cf3e706963ffbd3ee2568fa0d08ab016f0575ea8"
        },
        {
          "url": "https://git.kernel.org/stable/c/171b993a4aed9889159df4815b6a6ba141e61975"
        },
        {
          "url": "https://git.kernel.org/stable/c/d61828199c6cb4b76d48403c77023cd4bb9d09fc"
        }
      ],
      "title": "nvme-rdma: fix -EIO cleanup order in queue_rq",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98154",
    "datePublished": "2026-09-25T10:36:25.215Z",
    "dateReserved": "2026-09-25T10:25:14.320Z",
    "dateUpdated": "2026-09-25T14:42:13.909Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98154",
      "date": "2026-09-27",
      "epss": "0.00113",
      "percentile": "0.01293"
    },
    "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": "a41e7fc8d244d9cfc6273051aed85b67adedbb89",
                    "status": "affected",
                    "version": "62eca39722fd997e3621fc903229917b9f0fb271",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "cf3e706963ffbd3ee2568fa0d08ab016f0575ea8",
                    "status": "affected",
                    "version": "62eca39722fd997e3621fc903229917b9f0fb271",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "171b993a4aed9889159df4815b6a6ba141e61975",
                    "status": "affected",
                    "version": "62eca39722fd997e3621fc903229917b9f0fb271",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d61828199c6cb4b76d48403c77023cd4bb9d09fc",
                    "status": "affected",
                    "version": "62eca39722fd997e3621fc903229917b9f0fb271",
                    "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": "5.12"
                  },
                  {
                    "lessThan": "5.12",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.111",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.53",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.7",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-rc2",
                    "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 -EIO cleanup order in queue_rq\n\nOn -EIO, the RDMA queue_rq path reports a host path error and then\nstill cleans up the command and unmaps the SQE DMA. The path error\nhelper completes the request, so that is double cleanup and DMA unmap\nafter the request is already complete.\n\nUnmap the SQE first, then report the host path error. Skip the outer\ncommand cleanup on that path."
          }
        ],
        "id": "CVE-2026-98154",
        "lastModified": "2026-09-25T15:18:07.120",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.0,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.0,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-09-25T11:17:47.043",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/171b993a4aed9889159df4815b6a6ba141e61975"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a41e7fc8d244d9cfc6273051aed85b67adedbb89"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/cf3e706963ffbd3ee2568fa0d08ab016f0575ea8"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d61828199c6cb4b76d48403c77023cd4bb9d09fc"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "suse_vex": {
      "aggregate_severity": "important",
      "current_release_date": "2026-09-25T23:45:54Z",
      "cve": "CVE-2026-98154",
      "id": "CVE-2026-98154",
      "initial_release_date": "2026-09-25T23:45:54Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-98154",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-98154.json",
      "version": "2"
    }
  }
}



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…